System Administration Guide

Displaying Disk Usage Statistics

Use the df command to show the amount of free disk space on each mounted disk. The usable disk space reported by df reflects only 90% of full capacity, as the reporting statistics leave a 10% head room above the total available space. This head room normally stays empty for better performance.

The percentage of disk space actually reported by df is used space divided by usable space.

If the file system is above 90% capacity, transfer files to a disk that is not as full by using cp, or to a tape by using tar or cpio; or remove the files.

For a detailed description of this command, refer to the df(1M) man page.

How to Display File System Information

Use the df -k command to display file system information in Kbytes.


$ df -k
Filesystem         kbytes   used   avail capacity  Mounted on
/dev/dsk/c0t3d0s0   192807   19980  153547    12%    /
 

Table 64-6 describes the df -k command output.

Table 64-6 Output From the df -k Command

Field Name 

Description 

kbytes

Total size of usable space in the file system 

used

Amount of space used 

avail

Amount of space available for use 

capacity

Amount of space used, as a percent of the total capacity 

mounted on

Mount point 

Example--Displaying File System Information

The following example shows output of the df -k command.


$ df -k
Filesystem        kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t3d0s0   192807   19980  153547    12%    /
/dev/dsk/c0t3d0s6   384871  184385  162006    54%    /usr
/proc                    0       0       0     0%    /proc
fd                       0       0       0     0%    /dev/fd
/dev/dsk/c0t3d0s5   192807   54502  119025    32%    /opt
swap                184672     200  184472     1%    /tmp