Most active files
The filemon command can be used to create a report that lists the most active files on the various layers of file system utilization, including the logical file system, virtual memory segments, LVM, and physical disk layers. This section describes the column headings displayed on the report.
- #MBs
- Total number of MBs transferred over measured interval for this file. The rows are sorted by this field in decreasing order.
- #opns
- Number of opens for files during measurement period.
- #rds
- Number of read calls to file.
- #wrs
- Number of write calls to file.
- file
- File name (full path name is in detailed report).
- volume:inode
- The logical volume that the file resides in and the i-node number of the file in the associated file system. This field can be used to associate a file with its corresponding persistent segment shown in the detailed VM segment reports. This field may be blank for temporary files created and deleted during execution.
The most active files are smit.log on logical volume hd4 and file null. The application uses the terminfo database for screen management; so the ksh.cat and cmdtrace.cat are also busy. Anytime the shell needs to post a message to the screen, it uses the catalogs for the source of the data.
To identify unknown files, you can translate the logical
volume name, /dev/hd1, to the mount point of
the file system, /home, and use the find or
the ncheck command:
# find / -inum 858 -print
/smit.log
or
# ncheck -i 858 /
/:
858 /smit.log