Solaris Transition Guide

Monitoring File Systems

Table 9-14 shows the file and directory monitoring commands and changes, where they apply.

Table 9-14 File and Directory Monitoring Commands

Command 

Information Provided 

Change (if applicable) 

ls

Size, age, permissions, owner of files 

None 

du

Total size of directories and their contents 

None 

df

Disk space occupied by file systems, directories, or mounted resources; used and available disk space 

The SunOS release 4.x version of this command provides a different output format containing somewhat different output than the SunOS release 5.7 df command. The SunOS release 5.7 -k option provides output formats similar to those in the SunOS release 4.x command. The SunOS release 4.x df -t filesystem type reports on files of the specified type, whereas the SunOS release 5.7 df-t command prints full listings with totals.

quot

Number of blocks owned by users 

None 

find

Names of files meeting search criteria 

The -n cpio-device SunOS release 4.x option is not available in the SunOS release 5.7 command.

Write the current file on device in cpio -c format.