Solaris Easy Access Server 3.0 Installation Guide

Report on Disk Usage: du directory

The command du directory reports the amount of disk space used by all files and subdirectories underneath one of more specified directories, listed on a per subdirectory basis. Disk usage is reported in blocks. The numbers on the left indicate the number of blocks of disk space occupied by the directory. In our example, the /opt/SUNWits directory occupies 18456 blocks of disk space.

For example: du /opt could display something like the following:

18456   /opt/SUNWits
2       /opt/SUNWleo/include
4       /opt/SUNWleo