itm6对aix cpu监控是通过命令mpstat来实现的,没有被激活的cpu也会显示出来,这跟传统的查看方式不同,所以我们查到的数量可能不一致。
比如通过以下命令:
lscfg -vp | grep Processor
lscfg -vp | grep Processor
lsconf | grep Processor
prtconf
getconf HARDWARE_BITMODE
得到结果如下:
proc0 Available 00-00 Processor
proc2 Available 00-02 Processor
proc4 Available 00-04 Processor
proc6 Available 00-06 Processor
但是用mpstat返回值如下:
# mpstat
System configuration: lcpu=8
cpu min maj mpc int cs ics rq mig lpa sysc us sy wa id pc
0 32 0 0 185 313 185 0 225309 100 955 5 1 0 94 0.54
1 0 0 0 85 4 2 0 2088 100 13 0 0 1 99 0.45
2 16 0 0 190 305 179 0 215921 100 799 5 1 0 94 0.53
3 0 0 0 85 4 2 0 2235 100 11 0 0 0 99 0.46
4 28 0 0 332 329 191 0 214462 94 863 5 1 0 94 0.54
5 0 0 0 85 5 3 0 2221 97 10 0 0 0 100 0.46
6 67 0 0 188 333 194 0 211456 94 956 6 1 0 92 0.55
7 0 0 0 85 4 2 0 1830 97 32 0 0 0 100 0.44
ALL 143 0 0 1235 1297 758 0 875522 97 3639 3 1 0 96 3.97
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9893498/viewspace-979689/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/9893498/viewspace-979689/