When you suspect not having sufficient disk space in the directories in which SEAS product files are installed, you may find the following commands useful in determining the current disk space usage.
The Display Filesystem Statistics command: df -k
The Report on Disk Usage command: du directory
The command df -k directory displays the used and available disk space for each of the mounted file systems. The example indicates that 101061 kilobytes are available in /opt
For example: df -k /opt could display something like the following:
Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s5 123455 10049 101061 10% /opt |
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 |