Monitoring Disk Usage

Solaris provides very useful tools to monitor the use of disk space by individual file systems, such as /, /usr, /var, and so on. These tools are very handy in diagnosing problems relating to file systems. The following commands are used to monitor a file system's usage:

  • df

  • du

  • quot

These three commands report the disk space usage from different perspectives. The df command reports the used and unused disk space in terms of the number of blocks and kilobytes for all file systems. The du command reports the disk usage for files and directories. The quot command reports disk usage for users.

df Command

The df command reports details, such as the mount point directory, the logical block device name, the number of free blocks (the ...

Get Special Edition Using® Solaris™ 9 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.