iostat 使用说明

LINUX
[oracle@perass back]$ iostat -m 1 10
Linux 2.6.18-194.el5 (perass) 	03/01/2014

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.04    0.00    1.21   38.28    0.00   60.47

Device:            tps    MB_read/s    MB_wrtn/s    MB_read    MB_wrtn
sda             174.00         0.06        34.43          0         34
sda1              0.00         0.00         0.00          0          0
sda2              0.00         0.00         0.00          0          0
sda3            174.00         0.06        34.43          0         34

-m     Display statistics in megabytes per second instead of blocks or kilobytes per second.  Data  dis-
              played are valid only with kernels 2.4 and newer
可以看到写入的速度为34M/s

AIX
$ iostat 1 10

System configuration: lcpu=4 drives=6 paths=14 vdisks=0

tty:      tin         tout    avg-cpu: % user % sys % idle % iowait
          0.0         59.0                1.1   0.5   98.3      0.0

Disks:        % tm_act     Kbps      tps    Kb_read   Kb_wrtn
hdisk1           0.0       0.0       0.0          0         0
hdisk0           0.0       0.0       0.0          0         0

Kb_read
            The total number of KBs read.
Kb_wrtn
            The total number of KBs written.

原文地址:https://www.cnblogs.com/hzcya1995/p/13352397.html