Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

# vxdmpadm iostat show {all | ctlr=ctlr-name \
| dmpnodename=dmp-node \
| enclosure=enclr-name [portid=array-portid ] \
| pathname=path-name | pwwn=array-port-wwn } \
[interval=seconds [count=N]]
This command displays I/O statistics for all paths (all), or for a specified
controller, DMP node, enclosure, path or port ID. The statistics displayed are the
CPU usage and amount of memory per CPU used to accumulate statistics, the
number of read and write operations, the number of kilobytes read and written,
and the average time in milliseconds per kilobyte that is read or written.
The interval and count attributes may be used to specify the interval in seconds
between displaying the I/O statistics, and the number of lines to be displayed. The
actual interval may be smaller than the value specified if insufficient memory is
available to record the statistics.
To disable the gathering of statistics, enter this command:
# vxdmpadm iostat stop
Examples of using the vxdmpadm iostat command
The following is an example session using the vxdmpadm iostat command. The
first command enables the gathering of I/O statistics:
# vxdmpadm iostat start
The next command displays the current statistics including the accumulated total
numbers of read and write operations and kilobytes read and written, on all paths:
# vxdmpadm iostat show all
cpu usage = 7952us per cpu memory = 8192b
OPERATIONS KBYTES AVG TIME(ms)
PATHNAME READS WRITES READS WRITES READS WRITES
c0t0d0 1088 0 557056 0 0.00 0.00
c2t118d0 87 0 44544 0 0.00 0.00
c3t118d0 0 0 0 0 0.00 0.00
c2t122d0 87 0 44544 0 0.00 0.00
c3t122d0 0 0 0 0 0.00 0.00
c2t115d0 87 0 44544 0 0.00 0.00
c3t115d0 0 0 0 0 0.00 0.00
c2t103d0 87 0 44544 0 0.00 0.00
c3t103d0 0 0 0 0 0.00 0.00
c2t102d0 87 0 44544 0 0.00 0.00
c3t102d0 0 0 0 0 0.00 0.00
Administering Dynamic Multi-Pathing
Administering DMP using vxdmpadm
172