To display I/O statistics information
$ /opt/VRTSdbed/bin/vxstorage_stats -s -f
\/data/system01.dbf
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
/oradata/system01.dbf 2246 7199 18192 57592 1.12 138.04
/dev/vx/rdsk/ramdg/oradata 7662 30082 65609 1834893 0.67 38.54
vxvm:ramdg/oradata-01 7662 30082 65609 1834893 0.67 38.54
/dev/rhdisk13 1816 8410 16313 864243 0.86 68.69
EMC000184502242:02:0c:01 5543529 15683649 118054696 64581888 - -
EMC000184502242:31:0c:01 6023668 15528423 151474336 962147391 - -
/dev/rhdisk4 1816 8410 16313 864243 0.86 68.69
EMC000184502242:02:0c:01 543529 15683649 118054696 964581888 - -
EMC000184502242:31:0c:01 6023668 15528423 151474336 962147391 - -
/dev/rhdisk14 6747 22095 56504 970717 0.69 26.37
EMC000184502242:01:0d:01 5327497 13762427 94735284 596679746 - -
EMC000184502242:32:0d:01 22610445 30183683 868190315 1319215657 - -
/dev/rhdisk42 6747 22097 56504 970733 0.69 26.36
EMC000184502242:01:0d:01 5327497 13762427 94735284 596679746 - -
EMC000184502242:32:0d:01 22610445 30183683 868190315 1319215657 - -
To display storage mapping and I/O statistics information at repeated intervals
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
For example, to display statistics twice with a time interval of two seconds:
$ /opt/VRTSdbed/bin/vxstorage_stats -s -i2 -c2
\-f /data/system01.dbf
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 615 19 20752 152 3.53 24.74
/dev/vx/rdsk/mapdg/data_vol 19386 33227 895692 1376438 9.27 16.18
vxvm:mapdg/data_vol-01 19386 33227 895692 1376438 9.26 14.03
/dev/rdsk/c1t10d0s2 19386 33227 895692 1376438 9.26 14.03
c1t10d0 19386 33227 895692 1376438 9.26 14.03
vxvm:mapdg/data_vol-03 0 33227 0 1376438 0.00 14.21
/dev/rdsk/c1t13d0s2 0 33227 0 1376438 0.00 14.21
c1t13d0 0 33227 0 1376438 0.00 14.21
I/O OPERATIONS I/O BLOCKS(512 byte) AVG TIME(ms)
OBJECT READ WRITE B_READ B_WRITE AVG_RD AVG_WR
/oradata/system01.dbf 287021 275609 2296504 2898416 2.02 98.02
/dev/vx/rdsk/ramdg/oradata 307856 372064 3690425 6426299 1.98 77.61
vxvm:ramdg/oradata-01 307869 372065 3690529 6426511 1.98 77.61
/dev/rhdisk13 146504 158258 1763433 2966464 2.16 92.61
EMC000184502242:02:0c:01 5546124 15721781 118224296 967486277 - -
EMC000184502242:31:0c:01 6024254 15566930 151512680 965106560 - -
/dev/rhdisk41 148643 158463 1780545 2985152 2.15 92.49
EMC000184502242:02:0c:01 5546124 15721781 118224296 967486277 - -
EMC000184502242:31:0c:01 6024254 15566930 151512680 965106560 - -
/dev/rhdisk14 169737 224798 1955720 3535868 2.23 67.45
EMC000184502242:01:0d:01 5330453 13888409 94918220 603917193 - -
EMC000184502242:32:0d:01 22612024 30295506 868273331 1326216512 - -
/dev/rhdisk42 169737 226953 1955720 3723823 2.23 69.03
EMC000184502242:01:0d:01 5330453 13888409 94918220 603917193 - -
EMC000184502242:32:0d:01 22612024 30295506 868273331 1326216512 - -