DF(1) COMMAND REFERENCE DF(1)
NAME
df - disk free
SYNOPSIS
df [ -i ] [ -t type | [ filesystem ... ] [ filename ... ]]
DESCRIPTION
The df command prints out the amount of free disk space
available on the specified filesystem, e.g. /dev/rp0a, or on
the file system in which the specified file, e.g. $HOME, is
contained. If no file system is specified, the free space
on all normally mounted file systems is printed; the
reported numbers are in kilobytes.
There are two output formats. The following columns are
listed normally:
Filesystem kbytes used avail capacity Mounted on
The Filesystem column lists the name of the device for the
file system, such as /dev/hp0a; The kbytes column lists the
number of kilobytes on the device; the used column lists the
number of kilobytes allocated to files; the avail column
lists the number of kilobytes still available for files; the
capacity column lists the percentage of the file system
space that is allocated; the Mounted on column lists the
name of the root of the filesystem, such as /.
When the -i option is given, the following columns are also
given:
iused ifree %iused
The iused column lists the number of inodes allocated; the
ifree column lists the number of inodes still available; the
%iused column lists the percentage of the total number of
inodes that are allocated.
OPTIONS
-i Report the number of inodes used and the
number of inodes that are free.
Under some circumstances it may be
impossible to obtain reliable statistics
about inodes on a remote file system
when using this option. If this is the
case, the iused, ifree and %iused fields
will be printed as "---" for that file
system.
-t type | filesystem filename
Specify type 4.2 or nfs; if you specify
Printed 4/6/89 1
DF(1) COMMAND REFERENCE DF(1)
a filesystem or filename df reports
information about those objects too.
EXAMPLES
The following example prints a report of the free and used
disk space and inodes in the file system /tmp:
df -i /tmp
FILES
/etc/fstab
File containing the list of normally mounted file
systems
/etc/mtab File containing the mounted file system table
RETURN VALUE
[NO_ERRS] Command completed without error.
[USAGE] Incorrect command line syntax. Execution
terminated.
[NP_WARN] An error warranting a warning message
occurred. Execution continues.
[P_WARN] A system error occurred. Execution continues.
See intro(2) for more information on system
errors.
[P_ERR] A system error occurred. Execution
terminated. See intro(2) for more
information on system errors.
CAVEATS
The capacity of a file system can be reported as more than
100% because swap space may be being used. The swap space
is not normally included in the statistics.
Under some circumstances it may be impossible to obtain
reliable statistics about inodes on a remote file system
when using the -i option. If this is the case, the iused,
ifree and %iused fields will be printed as "---" for that
file system.
SEE ALSO
fstab(5), mtab(5), icheck(8), and quot(8).
Printed 4/6/89 2
%%index%%
na:192,66;
sy:258,252;
de:510,1661;
op:2171,848;3283,180;
ex:3463,234;
fi:3697,253;
rv:3950,725;
ca:4675,592;
se:5267,179;
%%index%%000000000156