“filemon” command monitors the performance of the file system, and reports the I/O activity. The I/O activity monitored is based on the time interval during which the filemon is run. It reports on various levels of file system utilization, including the LVM, virtual memory, and physical disk layers. Without any options, it runs in the background while application programs or system commands are being run and monitored. The trace starts automatically until it is stopped. At that time, the command generates an I/O activity report and exits. “trcstop” command is used to stop the filemon performance capturing.

A sample run below

unixfoo-aix:# filemon

Run trcstop command to signal end of trace.
unixfoo-aix:# Fri Apr 11 08:17:42 2008
System: AIX 5.3 Node: unixfoo-aix Machine: XXXXXXXXXXX

unixfoo-aix:#
unixfoo-aix:# trcstop
Fri Apr 11 08:19:30 2008
System: AIX 5.3 Node: unixfoo-aix Machine: XXXXXXXXXXX

Cpu utilization:  57.9%
Cpu allocation:   91.2%

58051805 events were lost.  Reported data may have inconsistencies or errors.

Most Active Files
————————————————————————
  #MBs  #opns   #rds   #wrs  file                     volume:inode
————————————————————————
  85.7      1  87726      0  zero
  85.6      1      0  87683  ttt                      /dev/fsvol:52
   1.2      1      0   1214  pid=422010_fd=4
   0.5      2    140      0  unix                     /dev/hd2:34544
   0.0      4      8      0  ksh.cat                  /dev/hd2:50810


Most Active Logical Volumes
————————————————————————
  util  #rblk  #wblk   KB/s  volume                   description
————————————————————————
  0.43     48 182016 1498.8  /dev/fsvol               /data
  0.43      8      0    0.1  /dev/hd2                 /usr
  0.00      0     40    0.3  /dev/hd8                 jfs2log


Most Active Physical Volumes
————————————————————————
  util  #rblk  #wblk   KB/s  volume                   description
————————————————————————
  0.43    104 230272 1896.5  /dev/hdisk1              N/A


————————————————————————
Detailed File Stats
————————————————————————

FILE: /dev/zero
opens:                  1
total bytes xfrd:       89831424
reads:                  87726   (0 errs)
  read sizes (bytes):   avg  1024.0 min    1024 max    1024 sdev     0.0
  read times (msec):    avg   0.043 min   0.002 max 166.864 sdev   1.742

FILE: /unixfoo/ddfile  volume: /dev/fsvol  inode: 52
opens:                  1
total bytes xfrd:       89787392
writes:                 87683   (0 errs)
  write sizes (bytes):  avg  1024.0 min    1024 max    1024 sdev     0.0
  write times (msec):   avg   0.067 min   0.004 max 125.491 sdev   1.996

0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like
Read More

Linux stress testing

Stress [http://weather.ou.edu/~apw/projects/stress/] is a simple workload generator for Linux. It imposes a configurable amount of CPU, memory, I/O,…
Read More

Simple perl ipcalc

Here is a simple program to calculate Network address and broadcast address, given input of IP address and…