cancel
Showing results for 
Search instead for 
Did you mean: 

what's the mean of vxstat about write

starflyfly
Level 6
Employee Accredited Certified
vxvm 5.1rp1  on solaris 10,
 
vxstat output:
 
 
                        OPERATIONS           BLOCKS        AVG TIME(ms)
TYP NAME               READ     WRITE      READ     WRITE   READ  WRITE 
2013-06-31 00:15:06 nodename
vol vol1    678082  10942170  51825547 351881947    2.2    0.2 
vol vol2          9         7       343        20    3.0    0.1 
vol vol3    18634  10910316  25915060 361987256    4.2    0.3 
2013-06-31 00:15:16 nodename
vol vol1    678082  10942266  51825547 351884675    2.2    0.2 
vol vol2          9         7       343        20    3.0    0.1 
vol vol3    18634  10910412  25915060 361990085    4.2    0.3 
2013-06-31 00:15:26 nodename
vol vol1    678082  10942516  51825547 351892067    2.2    0.2 
vol vol2          9         7       343        20    3.0    0.1 
vol vol3      18634  10910664  25915060 361997811    4.2    0.3 
==========
 
 
in upper vxstat output, should we think data write on  vol3  is 361997811blocks  every 10s,or  just (361997811-361990085) blocks every 10s.
1 ACCEPTED SOLUTION

Accepted Solutions

mikebounds
Level 6
Partner Accredited

The values shown are those since volume manager started (boot time) or since you reset stats (using "vxstat -r"), so yes if you subtract the 2 values representing time since boot, you get the writes written in that period.

Mike

View solution in original post

3 REPLIES 3

starflyfly
Level 6
Employee Accredited Certified

Seems we should calculate difference between two times.

 

(361997811-361990085) is the real io happen during 00:15:16   to 00:15:26.

mikebounds
Level 6
Partner Accredited

The values shown are those since volume manager started (boot time) or since you reset stats (using "vxstat -r"), so yes if you subtract the 2 values representing time since boot, you get the writes written in that period.

Mike

starflyfly
Level 6
Employee Accredited Certified

Thanks , Mike, very helpful.