Example of mmpmon fs_io_s request
This is an example of the fs_io_s input request to the mmpmon command and the resulting output that displays the I/O statistics per mounted file system.
Assume that commandFile contains
this line:
fs_io_s
and this command is issued: mmpmon -p -i commandFile
The output is two lines in total, and similar to this:
_fs_io_s_ _n_ 199.18.1.8 _nn_ node1 _rc_ 0 _t_ 1066660148 _tu_ 407431 _cl_ myCluster.xxx.com
_fs_ gpfs2 _d_ 2 _br_ 6291456 _bw_ 314572800 _oc_ 10 _cc_ 16 _rdc_ 101 _wc_ 300 _dir_ 7 _iu_ 2
_fs_io_s_ _n_ 199.18.1.8 _nn_ node1 _rc_ 0 _t_ 1066660148 _tu_ 407455 _cl_ myCluster.xxx.com
_fs_ gpfs1 _d_ 3 _br_ 5431636 _bw_ 173342800 _oc_ 6 _cc_ 8 _rdc_ 54 _wc_ 156 _dir_ 3 _iu_ 6
The
output consists of one string per mounted file system. In this example, there are two mounted file
systems, gpfs1 and gpfs2.If the -p flag is not specified, then the output is similar to:
mmpmon node 199.18.1.8 name node1 fs_io_s OK
cluster: myCluster.xxx.com
filesystem: gpfs2
disks: 2
timestamp: 1066660148/407431
bytes read: 6291456
bytes written: 314572800
opens: 10
closes: 16
reads: 101
writes: 300
readdir: 7
inode updates: 2
mmpmon node 199.18.1.8 name node1 fs_io_s OK
cluster: myCluster.xxx.com
filesystem: gpfs1
disks: 3
timestamp: 1066660148/407455
bytes read: 5431636
bytes written: 173342800
opens: 6
closes: 8
reads: 54
writes: 156
readdir: 3
inode updates: 6
When no file systems are mounted, the responses are similar to:
_fs_io_s_ _n_ 199.18.1.8 _nn_ node1 _rc_ 1 _t_ 1066660148 _tu_ 407431 _cl_ - _fs_ -
The _rc_ field is non-zero, and both the
_fs_ and _cl_ fields contain a minus sign. If
the -p flag is not specified, then the results are similar to:
mmpmon node 199.18.1.8 name node1 fs_io_s status 1
no file systems mounted
For information on interpreting mmpmon output results, see Other information about mmpmon output.