DF(1) — User’s Manual — Commands
NAME
df − report free disk space on file systems
SYNOPSIS
df [ −i ] [ filesystem ... ] [ file ... ]
DESCRIPTION
Df displays the amount of disk space occupied by each file system, the amount of this space which is used and available, and how much of the file system’s total capacity has been used. Used without arguments, df produces something like:
% df
FilesystemkbytesusedavailcapacityMounted on
/dev/ip0a 7445 4714198670%/
/dev/ip0g4227735291275893%/usr
%
Note that used+avail is less than the amount of space in the file system (kbytes); this is because the system reserves a fraction of the space in the file system to allow its file system allocation routines to work well. The amount reserved is typically about 10%; this may be adjusted using tunefs(8). When all the space on a file system except for this reserve is in use, only the super-user can allocate new files and data blocks to existing files. When a file system is overallocated in this way, df may report that the file system is more than 100% utilized.
If arguments to df are disk partitions (for example, /dev/ip0a) or UNIX path names, df produces a report on the file system containing the named file. Thus “df .” shows the amount of space on the file system containing the current directory.
OPTIONS
−i Report also the number of used and free inodes.
FILES
/etc/fstablist of normally mounted filesystems
SEE ALSO
du(1), fstab(5), icheck(8), quot(8), tunefs(8)
Sun System Release 1.0 — 1 November 1983