System Administration Guide: Advanced Administration

ProcedureHow to Display Disk Space Information (df -k)

  1. Use the df -k command to display disk space information in Kbytes.


    $ df -k
    Filesystem            kbytes    used   avail capacity  Mounted on
    /dev/dsk/c0t3d0s0     192807   40231  133296    24%    / 

Example 13–4 Displaying File System Information

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


$ df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t0d0s0     254966  204319   25151    90%    /
/devices                   0       0       0     0%    /devices
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                  496808     376  496432     1%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
/dev/dsk/c0t0d0s6    3325302 3073415  218634    94%    /usr
fd                         0       0       0     0%    /dev/fd
swap                  496472      40  496432     1%    /var/run
swap                  496472      40  496432     1%    /tmp
/dev/dsk/c0t0d0s5      13702    1745   10587    15%    /opt
/dev/dsk/c0t0d0s7       9450    1045    7460    13%    /export/home

The following table describes the output of 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 percentage of the total capacity 

mounted on

Mount point