Df command
From NetworkCommands
A command line program available on most Linux and Unix platforms; used to display usage information for file systems on the device.
Contents |
Usage Syntax
df [options]
The most common options are:
- -h - display size data in a human readable format, Kb, Mb etc.
- -l - display information about local file systems only
- -T - display file system type
Usage Examples
df -h - Display information for all file systems, in human readable format
df -h -l -T - Display information for local file systems only, in human readable format and including file system types.
Linux Usage Notes
With most Linux or Unix commands;
- Brief help can be displayed using the option/keyword: -h or --help, for example: chmod --help
- A full command manual can be displayed using the man command followed by the command name, for example: man chmod
- Sometimes 'info' pages are used instead of or to provide more information than man pages; for example: info chmod
- Version information can be display using the option/keyword: -v or --version, for example: chmod --version
Typical Output
BigIP 1500 running v9.3.0; df -h
Filesystem Size Used Avail Use% Mounted on /dev/hda5 2.9G 447M 2.4G 16% / /dev/hda7 2.9G 34M 2.8G 2% /config /dev/hda8 18G 76M 17G 1% /var /dev/hda9 2.9G 275M 2.5G 10% /usr /dev/hda1 15G 7.1G 6.9G 51% /shared none 186M 40K 186M 1% /dev/shm none 186M 36M 151M 19% /var/tmpfs /dev/hda2 760M 34M 726M 5% /mnt/tmp/install/boot/hda /dev/hda5 2.9G 447M 2.4G 16% /mnt/tmp/install/slot/hda.1 /dev/hda7 2.9G 34M 2.8G 2% /mnt/tmp/install/slot/hda.1/config /dev/hda8 18G 76M 17G 1% /mnt/tmp/install/slot/hda.1/var /dev/hda9 2.9G 275M 2.5G 10% /mnt/tmp/install/slot/hda.1/usr /dev/hda1 15G 7.1G 6.9G 51% /mnt/tmp/install/slot/hda.1/shared
BigIP 1500 running v9.4.3; df -h
Filesystem Size Used Avail Use% Mounted on /dev/hda5 2.9G 113M 2.7G 5% / /dev/hda7 2.9G 34M 2.8G 2% /config /dev/hda8 18G 44M 17G 1% /var /dev/hda9 2.9G 297M 2.5G 11% /usr /dev/hda1 15G 7.2G 6.8G 52% /shared none 186M 60K 186M 1% /dev/shm /dev/loop0 6.6G 35M 6.3G 1% /var/log none 186M 1.5M 185M 1% /var/tmpfs
Related Files
The df executable is normally found here: /bin/df
Related Articles
Information on other Linux commands
Information on Cisco commands
Information on Vyatta commands
Information on Extreme commands
Information on F5 BigIP commands
Information on Zebra commands
Information on Secure Platform commands
Information on Blue Coat SGOS commands
Information on Nokia IPSO commands







