Df (Unix)
From Free net encyclopedia
df (abbreviated from disk free) is a Unix computer program to display the amount of disk space used and available on a system. Typically, df collects its data by reading the mtab file and directly polling listed file systems for statistics.
In Linux, it is a part of the GNU Coreutils package.
According to the BSD manual page for df, it originated in Version 3 of AT&T's UNIX operating system.
[edit]
Example
The -k flag will show the sizes in 1K blocks, rather than the default of 512 byte blocks (the GNU version of df shows the sizes in 1K blocks by default -- at least since March 2000, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used).
$df -k Filesystem 1024-blocks Free %Used Iused %Iused Mounted on /dev/hd4 32768 16016 52% 2271 14% / /dev/hd2 4587520 1889420 59% 37791 4% /usr /dev/hd9var 65536 12032 82% 518 4% /var /dev/hd3 819200 637832 23% 1829 1% /tmp /dev/hd1 524288 395848 25% 421 1% /home /proc - - - - - /proc /dev/hd10opt 65536 26004 61% 654 4% /opt
[edit]
See also
[edit]