df shows the amount of free space left on a disk device, and the total amount available on the device (free+used). It measures space in units of 512-byte disk sectors. You can specify a device either by name, or by naming any file name on that device. If you do not give an argument, df reports space for all devices known to the system.
displays file sizes using more human-friendly units. Units used are:
B Bytes KB Kilobytes MB Megabytes GB Gigabytes TB Terabytes PB Petabytes EB Exabytes
When this option is specified, each file size is displayed using the most appropriate unit and is rounded to two decimal places.
uses 1024-byte (1K) units instead of the default 512-byte units when reporting space information.
lists complete information on space used, in the following order:
lists space used as well as space free.
specifies the number of seconds that df has to complete the operation before timing out and issuing an error.
When set to a non-zero value, df displays the device name (for example, C:/) in the file system column. When this variable is not set or set to zero, df displays the volume name. By default, this variable is not set.
Possible exit status values are:
Failure due to any of the following:
Invalid command line option.
POSIX.2. x/OPEN Portability Guide 4.0. All UNIX systems. Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016.
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.1 patch 1 Documentation Build 2.