The UNIX or Linux command that allows a user to view the contents of an inode. Properties such as name,date,size, and inode number are reported.

A figure, or otherwise derrived mathematical represenatation of a fact.

See: statistic


A common medical abbreviation which is used to imply urgent or rush. It is derived from a latin word "statim" which means immediately.

The stat (and fstat) unix system calls update a structure (passed by reference) with information about an inode. Standard fields include:
this includes inode type (directory, plain file, device file, pipe, socket, symbolic link, etc.) and permission bitmask
inode number of the file
device number of the device containing the mounted filesystem
number of names (hard links) this file has
owner of the file
group owner of the file
offset of the last byte in the file (length)
last time the file was accessed
last time the file was modified
last time the file was changed (including modifying atime or mtime)
st_blocks (BSD derived systems only--not POSIX)
size of the file in 512b blocks
The inode number and device number together are guarenteed to uniquely identify a file. This is the only (portable) way to verify that two names are hardlinks to the same file.

If (st_blocks * 512 < st_size), then the file is a sparse file and has one or more holes in it. (I.e., not every section of the file has disk space allocated to it.) This is the only (portable) way to detect holes in a file.

Log in or registerto write something here or to contact authors.