Linux:iostat命令

来自WHY42
root@riguz_hk:~# iostat
Linux 4.4.0-85-generic (riguz_hk) 	02/26/2018 	_i686_	(1 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.09    0.00    0.02    0.01    0.00   99.88

Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
vda               0.34         0.13         2.27    1852793   32162212

root@riguz_hk:~# iostat 1 2
Linux 4.4.0-85-generic (riguz_hk) 	02/26/2018 	_i686_	(1 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.09    0.00    0.02    0.01    0.00   99.88

Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
vda               0.34         0.13         2.27    1852805   32162212

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.00    0.00    0.00    0.00    0.00  100.00

Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
vda               0.00         0.00         0.00          0          0