df#
The df
utility prints mounted filesystem statistics (disk space/inodes usage).
If used with -h
parameter it prints the help message with possible arguments and parameters as follows:
Usage: df [options] [files]
-T: print filesystem type
-i: print inode information instead of block usage
-h: print this help message
The utility prints information about the filesystem on which each file specified in files
argument resides.
The information displayed consists of:
Filesystem - mounted device path
Type - filesystem type, optional (see
-T
option)1K-blocks/inodes - total number of 1K blocks/inodes available to the filesystem
Used - total number of 1K blocks/inodes used by the filesystem
Available - total number of 1K blocks/inodes free for use by the filesystem
Capacity - used blocks/inodes percent
Mounted on - filesystem mount point
The inodes statistics are available only for ext2
filesystem. Neither dummyfs
nor jffs2
collect such global data.
The example of checking root directory on ia32-generic-qemu target architecture: