Table of ContentsView in Frames

Displaying LUN statistics

You can use the lun stats command to display the number of read and write operations and the number of operations per second for LUNs.

Step

  1. Enter the following command: lun stats -z -i interval -c count -o [-a | lun_path]

    -z resets the statistics on all LUNs or the LUN specified in the lun_path option.

    -i interval is the interval, in seconds, at which the statistics are displayed.

    -c count is the number of intervals. For example, the lun stats -i 10 -c 5 command displays statistics in ten-second intervals, for five intervals.

    -o displays additional statistics, including the number of QFULL messages the storage system sends when its SCSI command queue is full and the amount of traffic received from the partner storage system.

    -a shows statistics for all LUNs.

    lun_path displays statistics for a specific LUN.

Example

system1>lun stats -o -i 1
Read  Write Other QFull Read  Write Average  Queue  Partner   Lun
 Ops   Ops   Ops         kB   kB    Latency  Length  Ops kB
  0    351    0     0     0  44992   11.35    3.00    0   0  /vol/tpcc/log_22
  0    233    0     0     0  29888   14.85    2.05    0   0  /vol/tpcc/log_22
  0    411    0     0     0  52672    8.93    2.08    0   0  /vol/tpcc/log_22
  2     1     0     0    16      8    1.00    1.00    0   0  /vol/tpcc/ctrl_0
  1     1     0     0     8      8    1.50    1.00    0   0  /vol/tpcc/ctrl_1
  0    326    0     0     0  41600   11.93    3.00    0   0  /vol/tpcc/log_22
  0    353    0     0     0  45056   10.57    2.09    0   0  /vol/tpcc/log_22
  0    282    0     0     0  36160   12.81    2.07    0   0  /vol/tpcc/log_22