O'Reilly logo

Special Edition Using® Solaris™ 9 by Tanuj Jain, Radhika Girisan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required