IO利用率为4920.45% – iostat -x,怎么了?

我曾经在服务器上看到错误地使用磁盘IO的次数很多,而且没有重新启动。

无论如何,这个服务器有很大的IO。 今晚它会重新启动,我确定明天我们会有很好的使用。 正常运行时间是497天。

root@xxxxxx:~# iostat -x 1 Linux 2.6.24-27-server (xxxxxx) 10/13/2011 avg-cpu: %user %nice %system %iowait %steal %idle 0.55 0.00 0.30 7.54 0.00 91.60 Device: rrqm/s wrqm/sr/sw/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm **%util** sda 17649.65 765.65 5478.46 5262.33 36185.00 48224.35 7.86 19.06 1.78 4.58 **4920.45** 

唯一的事情是nagios认为这是至关重要的。

任何解释将是wellcomed。

先谢谢你。


稍后添加:

正如你所看到的,统计是0,而且百分比很慢。

 Linux 2.6.24-27-server (xxxxxxx) 10/13/2011 avg-cpu: %user %nice %system %iowait %steal %idle 0.55 0.00 0.30 7.54 0.00 91.61 Device: rrqm/s wrqm/sr/sw/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 13578.30 590.03 4214.71 4048.69 27838.04 37110.10 7.86 14.67 1.78 4.58 3785.44 avg-cpu: %user %nice %system %iowait %steal %idle 0.00 0.00 0.00 0.00 0.00 100.00 Device: rrqm/s wrqm/sr/sw/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 avg-cpu: %user %nice %system %iowait %steal %idle 0.00 0.00 0.00 0.00 0.00 100.00 Device: rrqm/s wrqm/sr/sw/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 avg-cpu: %user %nice %system %iowait %steal %idle 0.00 0.00 0.00 0.00 0.00 100.00 Device: rrqm/s wrqm/sr/sw/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 avg-cpu: %user %nice %system %iowait %steal %idle 0.00 0.00 0.00 0.00 0.00 100.00 Device: rrqm/s wrqm/sr/sw/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 0.00 0.00 0.00 10.00 0.00 80.00 8.00 0.00 0.00 0.00 0.00 avg-cpu: %user %nice %system %iowait %steal %idle 0.00 0.00 0.00 0.00 0.00 100.00 Device: rrqm/s wrqm/sr/sw/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 avg-cpu: %user %nice %system %iowait %steal %idle 0.00 0.00 0.00 0.00 0.00 100.00 Device: rrqm/s wrqm/sr/sw/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 

iostat的源代码在%util的计算中已经截断了100%。 要么你的iostat版本在这个计算中有一些修改,并不意味着它通常意味着什么,或者发生了一些非常奇怪的事情。

看看iostat.c源文件中的第381行和第382行:

  if (busy > 100.0) busy = 100.0; 

如果你往下看第386和394行,你可以看到busy是打印为%util