fedora 11 下分析系统性能瓶颈之(二)iostat



[root@Tux algorithm]# iostat ALL
Linux 2.6.30.5-43.fc11.i686.PAE (Tux) 2009年09月23日

avg-cpu: %user %nice %system %iowait %steal %idle
14.73 0.02 4.99 1.24 0.00 79.02

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
ram0 0.00 0.00 0.00 0 0
ram1 0.00 0.00 0.00 0 0
ram2 0.00 0.00 0.00 0 0
ram3 0.00 0.00 0.00 0 0
ram4 0.00 0.00 0.00 0 0
ram5 0.00 0.00 0.00 0 0
ram6 0.00 0.00 0.00 0 0
ram7 0.00 0.00 0.00 0 0
ram8 0.00 0.00 0.00 0 0
ram9 0.00 0.00 0.00 0 0
ram10 0.00 0.00 0.00 0 0
ram11 0.00 0.00 0.00 0 0
ram12 0.00 0.00 0.00 0 0
ram13 0.00 0.00 0.00 0 0
ram14 0.00 0.00 0.00 0 0
ram15 0.00 0.00 0.00 0 0
loop0 0.00 0.00 0.00 0 0
loop1 0.00 0.00 0.00 0 0
loop2 0.00 0.00 0.00 0 0
loop3 0.00 0.00 0.00 0 0
loop4 0.00 0.00 0.00 0 0
loop5 0.00 0.00 0.00 0 0
loop6 0.00 0.00 0.00 0 0
loop7 0.00 0.00 0.00 0 0
sda 4.14 42.19 65.44 1828668 2836352
sda1 0.01 0.25 0.00 11048 0
sda2 0.00 0.03 0.00 1088 0
sda3 0.01 0.21 0.00 9048 0
sda4 0.00 0.00 0.00 19 0
sda5 0.00 0.07 0.00 2928 24
sda6 0.00 0.05 0.00 1991 0
sda7 3.86 41.56 65.44 1801298 2836328
sr0 0.00 0.00 0.00 0 0


我们让它全部显示出来,当然也可以加参数,让它几秒显示一次,一共显示几次。其实参数可以看man page.

上面%user   %nice %system %iowait  %steal   %idle跟之一里面说过的mpstat里的是一样一样的。

下面的
                 tps
                     Indicate  the  number  of  transfers  per  second that were issued to the device. A transfer is an I/O
                     request to the device. Multiple logical requests can be combined into a  single  I/O  request  to  the
                     device. A transfer is of indeterminate size.

另外两个每秒的读写和读写的总数。很清楚。
posted @ 2009-09-24 04:16  冷月X  阅读(205)  评论(0编辑  收藏  举报