[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stat Command
From: |
Bob Proulx |
Subject: |
Re: Stat Command |
Date: |
Thu, 2 Nov 2006 22:26:37 -0700 |
User-agent: |
Mutt/1.5.9i |
Martin Kohl wrote:
> Dear Michael -
But you addressed this to the bug-coreutils list? The GNU coreutils
are the basic text, file and shell utilities of the GNU system.
> I'm interested in the "stat command", particularly in
> what the following output represents...
>
> IO Block? (what does this mean)
The best I/O block size.
> Blocks? (what does this mean)
The number of disk blocks consumed by the file. Not necessarily the
same thing as the size of the file, in the case of a sparse file.
> Device? (what does this mean)
The device number of the filesystem.
See the man page for the stat system call for more details. The stat
command line program simply reports all of the data fields from the
stat system call.
man 2 stat
Bob
> A sample output from my machine:
>
> stat termcap
> File: `termcap'
> Size: 799248 Blocks: 1584 IO Block:
> 4096 regular file
> Device: fd00h/64768d Inode: 8913670 Links: 1
> Access: (0644/-rw-r--r--) Uid: ( 0/ root)
> Gid: ( 0/ root)
> Access: 2006-11-01 20:41:22.000000000 -0500
> Modify: 2006-11-01 20:25:30.000000000 -0500
> Change: 2006-11-01 20:25:30.000000000 -0500
>
> Any help is appreciated!!
>
> Thanks. Martin Kohl.
>
>
> ____________________________________________________________________________________
> We have the perfect Group for you. Check out the handy changes to Yahoo!
> Groups
> (http://groups.yahoo.com)
>
>
>
> _______________________________________________
> Bug-coreutils mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-coreutils
>
- Stat Command, Martin Kohl, 2006/11/02
- Re: Stat Command,
Bob Proulx <=