- 论坛徽章:
- 0
|
SunOS 5.8 Generic_108528-18 sun4u sparc SUNW,Sun-Fire\r\n\r\n\r\n用sar 看到wio 非常高。但我用iostat -xDn 看到w%,wait都 为零,系统上跑的是oracle9的数据库,也没有表现得很慢,但用sar看到的iowait为什么会那么高,而且与iostat看到结果又不同?\r\nroot@czjf2 # sar -u 5 10\r\n\r\nSunOS czjf2 5.8 Generic_108528-18 sun4u 06/13/05\r\n\r\n09:45:15 %usr %sys %wio %idle\r\n09:45:20 31 10 43 16\r\n09:45:25 10 9 53 28\r\n09:45:30 12 11 50 28\r\n09:45:35 11 8 54 27\r\n09:45:40 10 8 53 29\r\n09:45:45 14 13 45 28\r\n09:45:50 17 10 49 24\r\n09:45:55 14 11 49 26\r\n09:46:00 13 10 51 27\r\n09:46:05 22 11 45 22\r\n\r\nAverage 15 10 49 25\r\n\r\n\r\nroot@czjf2 # iostat -xDn 5 10\r\n extended device statistics \r\n r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device\r\n 0.6 2.5 17.5 22.5 0.0 0.1 0.0 16.4 0 2 c0t0d0\r\n 0.5 2.5 16.8 22.7 0.0 0.0 0.0 16.1 0 2 c0t1d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t6d0\r\n 0.0 1.6 0.3 14.7 0.0 0.0 0.0 1.7 0 0 c4t60020F200000BF0A3FB74492000A0A58d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.2 0 0 c4t60020F200000BF0A3FB7446F000C8FF9d0\r\n 22.0 3.7 1089.4 30.1 0.0 0.3 1.6 9.9 0 13 c4t60020F200000BF0A3FB7445600037926d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 st4\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 czjf2:vold(pid467)\r\n extended device statistics \r\n r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device\r\n 0.0 1.6 0.0 2.4 0.0 0.0 0.0 5.7 0 1 c0t0d0\r\n 0.0 1.6 0.0 2.4 0.0 0.0 0.0 4.0 0 1 c0t1d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t6d0\r\n 0.0 1.6 0.0 9.8 0.0 0.0 0.0 1.1 0 0 c4t60020F200000BF0A3FB74492000A0A58d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c4t60020F200000BF0A3FB7446F000C8FF9d0\r\n 185.9 16.8 1487.6 116.9 0.0 1.4 0.0 6.9 0 98 c4t60020F200000BF0A3FB7445600037926d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 st4\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 czjf2:vold(pid467)\r\n extended device statistics \r\n r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device\r\n 0.0 7.0 0.0 23.4 0.0 0.1 0.0 17.6 0 4 c0t0d0\r\n 0.0 7.0 0.0 23.4 0.0 0.1 0.0 16.8 0 3 c0t1d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t6d0\r\n 0.0 0.8 0.0 4.9 0.0 0.0 0.0 1.1 0 0 c4t60020F200000BF0A3FB74492000A0A58d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c4t60020F200000BF0A3FB7446F000C8FF9d0\r\n 178.2 19.2 1425.6 143.8 0.0 1.5 0.0 7.4 0 97 c4t60020F200000BF0A3FB7445600037926d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 st4\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 czjf2:vold(pid467)\r\n extended device statistics \r\n r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device\r\n 0.0 3.2 0.0 1.6 0.0 0.0 0.0 4.6 0 1 c0t0d0\r\n 0.0 3.2 0.0 1.6 0.0 0.0 0.0 4.9 0 2 c0t1d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t6d0\r\n 0.0 1.6 0.0 9.8 0.0 0.0 0.0 1.0 0 0 c4t60020F200000BF0A3FB74492000A0A58d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c4t60020F200000BF0A3FB7446F000C8FF9d0\r\n 169.6 14.2 1356.8 101.4 0.0 1.4 0.0 7.8 0 97 c4t60020F200000BF0A3FB7445600037926d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 st4\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 czjf2:vold(pid467)\r\n extended device statistics \r\n r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t0d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t1d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t6d0\r\n 0.0 2.4 0.0 13.2 0.0 0.0 0.0 0.9 0 0 c4t60020F200000BF0A3FB74492000A0A58d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c4t60020F200000BF0A3FB7446F000C8FF9d0\r\n 183.4 11.0 1467.1 75.6 0.0 1.5 0.0 7.5 0 97 c4t60020F200000BF0A3FB7445600037926d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 st4\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 czjf2:vold(pid467)\r\n extended device statistics \r\n r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device\r\n 4.2 15.4 29.3 10.5 0.0 0.4 0.0 22.7 0 11 c0t0d0\r\n 7.0 15.4 56.0 10.5 0.0 0.4 0.0 19.5 0 12 c0t1d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t6d0\r\n 0.0 0.8 0.0 4.9 0.0 0.0 0.0 1.0 0 0 c4t60020F200000BF0A3FB74492000A0A58d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c4t60020F200000BF0A3FB7446F000C8FF9d0\r\n 176.2 22.6 1409.6 176.8 0.0 1.4 0.0 7.3 0 96 c4t60020F200000BF0A3FB7445600037926d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 st4\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 czjf2:vold(pid467)\r\n extended device statistics \r\n r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t0d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t1d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t6d0\r\n 0.0 2.4 0.0 13.2 0.0 0.0 0.0 1.0 0 0 c4t60020F200000BF0A3FB74492000A0A58d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c4t60020F200000BF0A3FB7446F000C8FF9d0\r\n 158.2 24.6 1265.6 184.0 0.0 1.5 0.0 8.5 0 95 c4t60020F200000BF0A3FB7445600037926d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 st4\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 czjf2:vold(pid467)\r\n extended device statistics \r\n r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device\r\n 0.0 0.2 0.0 1.6 0.0 0.0 0.0 19.6 0 0 c0t0d0\r\n 0.0 0.2 0.0 1.6 0.0 0.0 0.0 16.3 0 0 c0t1d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t6d0\r\n 0.0 0.8 0.0 4.9 0.0 0.0 0.0 1.1 0 0 c4t60020F200000BF0A3FB74492000A0A58d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c4t60020F200000BF0A3FB7446F000C8FF9d0\r\n 173.8 16.8 1390.4 129.0 0.0 1.6 0.0 8.6 0 96 c4t60020F200000BF0A3FB7445600037926d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 st4\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 czjf2:vold(pid467)\r\n extended device statistics \r\n r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device\r\n 0.0 5.4 0.0 20.7 0.0 0.1 0.0 22.4 0 3 c0t0d0\r\n 0.0 5.4 0.0 20.7 0.0 0.1 0.0 21.2 0 3 c0t1d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t6d0\r\n 0.0 1.6 0.0 9.8 0.0 0.0 0.0 1.0 0 0 c4t60020F200000BF0A3FB74492000A0A58d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c4t60020F200000BF0A3FB7446F000C8FF9d0\r\n 154.6 27.6 1236.8 221.4 0.0 1.6 0.0 8.5 0 95 c4t60020F200000BF0A3FB7445600037926d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 st4\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 czjf2:vold(pid467)\r\n extended device statistics \r\n r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t0d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t1d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t6d0\r\n 0.0 1.6 0.0 9.8 0.0 0.0 0.0 1.0 0 0 c4t60020F200000BF0A3FB74492000A0A58d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c4t60020F200000BF0A3FB7446F000C8FF9d0\r\n 166.6 19.8 1332.8 152.0 0.0 1.5 0.0 8.1 0 95 c4t60020F200000BF0A3FB7445600037926d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 st4\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 czjf2:vold(pid467) |
|