我曾在很长时间没有重新启动的服务器上看到磁盘 IO 的错误使用百分比。
无论如何,该服务器具有显着的 IO。今晚它会重新启动,我相信明天我们会有很好的 %use。正常运行时间为 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/s r/s w/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**
Run Code Online (Sandbox Code Playgroud)
唯一的问题是 nagios 认为这很重要。
任何解释都会受到欢迎。
先感谢您。
稍后补充:
如您所见,统计数据为 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/s r/s w/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/s r/s w/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/s r/s w/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/s r/s w/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/s r/s w/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/s r/s w/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/s r/s w/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
Run Code Online (Sandbox Code Playgroud)
的源代码iostat对 的计算有 100% 的截止%util。您的版本iostat在此计算中进行了一些修改,这并不意味着它通常意味着什么,或者发生了一些非常奇怪的事情。
查看iostat.c 源代码中的第 381 和 382 行:
if (busy > 100.0)
busy = 100.0;
Run Code Online (Sandbox Code Playgroud)
如果您向下看第 386 行和第 394 行,您会看到busy打印为%util.
| 归档时间: |
|
| 查看次数: |
1901 次 |
| 最近记录: |