The vxstat utility has keywords and operands for displaying statistics for dynamic disks, dynamic volumes, and subdisks of dynamic volumes. It can also display statistics at specified intervals and for specified numbers of times.
Typing the following sequence brings up a description of its syntax:
vxstat <Keyword> -?
vxstat [-g<DynamicDiskGroupName>] [-s] [-d] [-v] [-i<Interval>] [-c<Count>] [<Object>...]
The following attributes apply:
If the -i<Interval> option is specified without the -c<Count> option, the statistics runs continuously with the interval specified. If neither the -i<Interval> option nor the -c<Count> option is specified, the statistics display once.
Summary statistics for each object are displayed in one-line output records, preceded by two header lines. The output line consists of blank-separated fields for the object type and object name.
Statistics Types
The statistics types are as follows:
Read Requests/Second
The number of read requests per second for selected storage objects.
Write Requests/Second
The number of write requests per second for selected storage objects.
Read Blocks/Second
The amount of read request data (in blocks per second) that is processed for selected storage objects. It is the throughput on the read requests made.
Write Blocks/Second
The amount of write request data (in blocks per second) that is processed for selected storage objects. It is the throughput on the write requests made.
Average Time/Read Block
The average time in microseconds that it takes to process a read block from the time a request is made until the data is returned.
Average Time/Write Block
The average time in microseconds that it takes to process a write block from the time a request is made until the data is returned.
Queue Depth
The current number of read and write requests in the queue for selected disks. It does not apply to volumes and subdisks.
You can use these statistics to improve performance on your system.
Examples
vxstat -s
Displays the statistics for all subdisks on a managed server.
vxstat -d Harddisk5 Harddisk6
Displays the statistics for Harddisk5 and Harddisk6
vxstat -s E:
Displays the statistics for the subdisks of volume E.
vxstat -i 10 -c 5 -d
Displays 5 sets of statistics at 10-second intervals for all the disks on the managed server.
vxstat -d F:
Displays the statistics for the disks that are associated with volume F.
vxstat -v Harddisk5
Displays the statistics for the volumes that are associated with Harddisk5.
vxstat -gDynDskGrp1 -v
Displays the statistics for all volumes in DynDskGrp1.
vxstat -s F: G: H: Harddisk7
Displays the subdisk statistics for volumes F, G, H, and for Harddisk7.
More Information