Df
From FreeBSDwiki
(Difference between revisions)
m |
|||
Line 1: | Line 1: | ||
− | [[df]] is acronymic for ''' | + | [[df]] is acronymic for '''disk free''' |
− | When this command is used with no parameters, it will display the amount of | + | When this command is used with no parameters, it will display the amount of disk space free on each mounted device in a 512-byte per block count, as well as a percentage. |
− | You may specify either a device path or plain directory path to | + | You may specify either a device path or plain directory path to retrieve the associated mount-point information. Also, the parameter '''-h''' may be used to have the output displayed in 'human-readable' format. |
[light@splat ~]$ '''/bin/df''' | [light@splat ~]$ '''/bin/df''' |
Revision as of 07:39, 9 September 2004
df is acronymic for disk free
When this command is used with no parameters, it will display the amount of disk space free on each mounted device in a 512-byte per block count, as well as a percentage.
You may specify either a device path or plain directory path to retrieve the associated mount-point information. Also, the parameter -h may be used to have the output displayed in 'human-readable' format.
[light@splat ~]$ /bin/df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 128990 104110 14562 88% / /dev/ad0s1f 257998 146 237214 0% /tmp /dev/ad0s1g 18809884 15014076 2291018 87% /usr /dev/ad0s1e 257998 236788 572 100% /var procfs 4 4 0 100% /proc
[light@splat ~]$ df /tmp Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1f 257998 146 237214 0% /tmp
[light@splat ~]$ df /dev/ad0s1f Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1f 257998 146 237214 0% /tmp
[light@splat ~]$ df -h / Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 132M 107M 15M 88% /