Use the vxstorage_stats -s command to display I/O statistics information. To see this information updated at regular intervals, also use the -i and -c options.
To display I/O statistics information
Use the vxstorage_stats command with the -s option:
$ /opt/VRTSdb2ed/bin/vxstorage_stats -s -f file_name
$ /opt/VRTSdb2ed/bin/vxstorage_stats -s -f \ /PRODqio/PRODqiotbs
Output similar to the following is displayed:
I/O OPERATIONS I/O BLOCKS(512 byte) AVG TIME(ms)
OBJECT READ WRITE B_READ B_WRITE AVG_RD AVG_WR
/data/system01.dbf 2 2479 8 5068810 0.00 53.28
/dev/vx/rdsk/mydb/myindex 101 2497 1592 5069056 12.18 52.78
vxvm:mydb/myindex-01 101 2497 1592 5069056 12.18 52.76
/dev/rdsk/c3t1d3s3 131 1656 2096 1689696 14.43 39.09
c3t1d3 131 1656 2096 1689696 14.43 39.09
EMC000184502242:02:0c:02 8480 231019 275952 23296162 - -
EMC000184502242:31:0c:02 3244 232131 54808 23451325 - -
/dev/rdsk/c3t1d15s4 0 1652 0 1689606 0.00 46.47
c3t1d15 0 1652 0 1689606 0.00 46.47
EMC000184502242:01:0c:02 23824 1188997 1038336 32407727 - -
EMC000184502242:32:0c:02 5085 852384 135672 29956179 - -
/dev/rdsk/c3t1d2s4 14 1668 200 1689834 18.57 34.19
c3t1d2 14 1668 200 1689834 18.57 34.19
EMC000184502242:16:0c:02 4406 271155 121368 23463948 - -
EMC000184502242:17:0c:02 3290 269281 55432 23304619 - -
I/O OPERATIONS I/O BLOCKS(512 byte) AVG TIME(ms)
OBJECT READ WRITE B_READ B_WRITE AVG_RD AVG_WR
/data/system01.dbf 2 2479 8 5068810 0.00 53.28
/dev/vx/rdsk/mydb/myindex 101 2497 1592 5069056 12.18 52.78
vxvm:mydb/myindex-01 101 2497 1592 5069056 12.18 52.76
/dev/rdsk/c3t1d3s3 131 1656 2096 1689696 14.43 39.09
c3t1d3 131 1656 2096 1689696 14.43 39.09
EMC000184502242:02:0c:02 8480 231019 275952 23296162 - -
EMC000184502242:31:0c:02 3244 232131 54808 23451325 - -
/dev/rdsk/c3t1d15s4 0 1652 0 1689606 0.00 46.47
c3t1d15 0 1652 0 1689606 0.00 46.47
EMC000184502242:01:0c:02 23824 1188997 1038336 32407727 - -
EMC000184502242:32:0c:02 5085 852384 135672 29956179 - -
/dev/rdsk/c3t1d2s4 14 1668 200 1689834 18.57 34.19
c3t1d2 14 1668 200 1689834 18.57 34.19
EMC000184502242:16:0c:02 4406 271155 121368 23463948 - -
EMC000184502242:17:0c:02 3290 269281 55432 23304619 - -
To display Storage Mapping and I/O statistics information at repeated intervals
Use the vxstorage_stats command with the -i interval and -c count options to display storage mapping and I/O statistics information at repeated intervals. The -i interval option specifies the interval frequency for displaying updated I/O statistics and the -c count option specifies the number of times to display statistics.
$ /opt/VRTSdbed/bin/vxstorage_stats -m [-s] \ [-i interval -c count ] -f file_name
$ /opt/VRTSdb2ed/bin/vxstorage_stats [-m] -s\ [-i interval -c count ] -f file_name
For example, to display statistics twice with a time interval of two seconds:
$ /opt/VRTSdb2ed/bin/vxstorage_stats -s -i2 -c2 \ -f /prodqio/PRODqiotbs
Output similar to the following is displayed:
OPERATIONS FILE BLOCKS(512 byte) AVG TIME(ms)
OBJECT READ WRITE B_READ B_WRITE AVG_RD AVG_WR
/data/system01.dbf 0 0 0 0 0.00 0.00
/dev/vx/rdsk/mapdg/data_vol 0 1 0 2 0.00 0.00
vxvm:mapdg/data_vol-01 0 1 0 2 0.00 0.00
/dev/rdsk/c1t10d0s2 0 1 0 2 0.00 0.00
c1t10d0 0 1 0 2 0.00 0.00
vxvm:mapdg/data_vol-03 0 1 0 2 0.00 0.00
/dev/rdsk/c1t13d0s2 0 1 0 2 0.00 0.00
c1t13d0 0 1 0 2 0.00 0.00