df Command Purpose Reports information about space on file systems. Syntax df [ -I | -M | -i | -s | -v ] [ FileSystem ... | File ... ] Description The df command displays information about total space and avail- able space on a file system. The FileSystem parameter specifies the name of the device on which the file system resides, the directory on which the file system is mounted, or the relative path name of a file system. If you do not specify the FileSystem parameter, the df command displays information for all currently mounted file systems. If a file or directory is specified, then the df command displays information for the file system on which the file resides. Normally, the df command uses free counts contained in the super- block. Under certain exceptional conditions, these counts may be in error. For example, if a file system is being actively modi- fied when the df command is performing, the free count may not be accurate. Note: On some remote file systems, such as network file systems (NFS), columns are blank if the server does not provide the in- formation. Flags -i Displays the number of free and used i-nodes for the file sys- tem; this is the default when the specified file system is mount- ed. -I Displays information on total KB, used space, free space, per- centage of used space, and mount point for the file system. -M Displays the mount point information for the file system in the second column. -s Makes a full search of the free block list. Note: The df command requires considerably more processing time when the -s flag is specified. -v Displays all information for the specified file system. Exit Status This command returns the following exit values: 0 Successful completion. >0 An error occurred. Examples 1. To display information about all mounted file systems, enter: df If your system is configured so that the /, /usr, /site, and /usr/venus directories reside in separate file systems, the out- put from the df command resembles the following: Device Total KB free %used iused %iused Mounted on /dev/hd0 19368 9976 48% 4714 5% / /dev/hd1 24212 4808 80% 5031 19% /usr /dev/hd2 9744 9352 4% 1900 4% /site /dev/hd3 3868 3856 0% 986 0% /usr/venus 2. To display available space on the file system in which your current directory resides, enter: df Implementation Specifics This command is part of Base Operating System (BOS) Runtime. Files /etc/filesystems Lists the known file systems and defines their characteristics. /etc/vfs Contains descriptions of virtual file system types. Related Information The fsck command. The filesystems file. The File Systems Overview for System Management in AIX Version 3.2 System Management Guide: Operating System and Devices ex- plains file system types, management, structure, and maintenance. The Mounting Overview in AIX Version 3.2 System Management Guide: Operating System and Devices explains mounting files and directories, mount points, and automatic mounts.