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

due to volumes being created, and also removes statistics from boot time (which
are not usually of interest).
After resetting the counters, allow the system to run during typical system activity.
Run the application or workload of interest on the system to measure its effect.
When monitoring a system that is used for multiple purposes, try not to exercise
any one application more than usual. When monitoring a time-sharing system
with many users, let statistics accumulate for several hours during the normal
working day.
To display volume statistics, enter the vxstat command with no arguments. The
following is a typical display of volume statistics:
OPERATIONS BLOCKS AVG TIME(ms)
TYP NAME READ WRITE READ WRITE READ WRITE
vol archive 865 807 5722 3809 0.32 0.24
vol home 2980 5287 6504 10550 0.37 2.21
vol local 49477 49230 507892 204975 0.28 0.33
vol rootvol 102906 342664 1085520 1962946 0.28 0.25
vol src 79174 23603 425472 139302 0.22 0.30
vol swapvol 22751 32364 182001 258905 0.25 3.23
Such output helps to identify volumes with an unusually large number of
operations or excessive read or write times.
To display disk statistics, use the vxstat -d command. The following is a typical
display of disk statistics:
OPERATIONS BLOCKS AVG TIME(ms)
TYP NAME READ WRITE READ WRITE READ WRITE
dm mydg01 40473 174045 455898 951379 0.29 0.35
dm mydg02 32668 16873 470337 351351 0.35 1.02
dm mydg03 55249 60043 780779 731979 0.35 0.61
dm mydg04 11909 13745 114508 128605 0.25 0.30
If you need to move the volume named archive onto another disk, use the following
command to identify on which disks it lies:
# vxprint -g mydg -tvh archive
The following is an extract from typical output:
V RVG/VSET/CO KSTATE STATE LENGTH READPOL REFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WDTH MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
v archive - ENABLED ACTIVE 20480 SELECT - fsgen
491Performance monitoring and tuning
Performance monitoring