df(1-BSD) MISC. REFERENCE MANUAL PAGES df(1-BSD)
NAME
df - report free disk space on file systems
SYNOPSIS
/usr/ucb/df [ -i ] [ -a ] [ -t type ] [ directory|special ]
DESCRIPTION
df displays the amount of disk space occupied by currently
mounted file systems, the amount of used and available
space, and how much of the file system's total capacity has
been used. If arguments to df are 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 con-
taining the current directory. The following options are
available:
-i Print only the number of inodes which are used and
free.
-a Print the amount of used and available space in kilo-
bytes.
-t type
Print the amount of used and available space of a given
type (for example, nfs, s5, or ufs)
EXAMPLE
A sample of output for df looks like:
Filesystem kbytes used avail capacity Mounted on
/dev/root 23557 17943 3258 85% /
/dev/fdsk0 1343 193 1016 16% /mnt
/dev/sd00d 575612 264484 253566 51% /usr
cross:/usr 119375 87486 19951 81% /net/cross/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. 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.
FILES
/etc/mnttab list of file systems currently mounted
/etc/vfstab list of default parameters for each file
system
1
df(1-BSD) MISC. REFERENCE MANUAL PAGES df(1-BSD)
SEE ALSO
du(1M), quot(1M), tunefs(1M), mnttab(4) in the System
Administrator's Reference Manual.
2