iostat -sndx 1
will produce this output:
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
1.0 1.1 82.1 8.5 0.0 0.0 0.0 9.7 0 1 c2t0d0
36.9 0.6 4576.8 14.2 0.0 0.6 0.0 16.2 0 14 c2t1d0
6.6 0.3 695.1 64.2 0.0 0.0 0.0 5.7 0 2 c2t2d0
0.0 7.7 0.8 2438.0 2.1 1.0 270.4 128.0 33 33 c1t0d0
0.0 7.8 0.8 2438.1 2.1 1.0 271.6 128.2 33 33 c1t0d1
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1 0 0 c1t0d2
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 85.0 0.0 360.5 0.0 0.0 0.0 0.4 0 1 c2t0d0
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c2t1d0
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c2t2d0
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c1t0d0
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c1t0d1
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c1t0d2
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c2t0d0
12.0 118.0 24.5 460.5 0.0 0.5 0.0 3.7 0 44 c2t1d0
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c2t2d0
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c1t0d0
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c1t0d1
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c1t0d2
The 1
argument specifies emitting an output set once per second. Add a second numerical value to specify how many sets of output are emitted. The first set out output is the I/O statistics since the counters were last reset, probably at boot.
Add -z
to suppress rows with all zeros.
Add -p
to see per-partition statistics.
Add -I
to see raw counts instead of rate numbers. (Might only be Solaris 11)