Forum Discussion

starflyfly's avatar
starflyfly
Level 6
12 years ago

what's the mean of vxstat about write

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.
  • 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

  • Seems we should calculate difference between two times.

     

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

  • 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