- 论坛徽章:
- 0
|
在5.3的机器上,vmstat 1 2,cpu idle值可以正确得到\r\n\r\nSystem Configuration: lcpu=8 mem=7808MB\r\n\r\nkthr memory page faults cpu \r\n----- ----------- ------------------------ ------------ -----------\r\nr b avm fre re pi po fr sr cy in sy cs us sy id wa\r\n0 0 998515 882178 0 0 0 0 0 0 10 422 257 0 0 99 0\r\n0 0 998515 882178 0 0 0 0 0 0 20 581 245 0 0 99 0\r\n\r\n但在6.1机器上vmstat 1 2的结果确如下\r\nLYH40889B configuration: @lcpu=4 @mem=18432MB @ent=2.00 \r\nkthr memory page faults cpu \r\n----- ----------- ------------------------ ------------ -----------------------\r\n @ @ @ @ @ \r\n r b avm fre re pi po fr sr cy in sy cs us sy id wa pc ec\r\n11 0 5158591 28265 0 0 5 5 0 0 33 97487 34424 45 55 - - 0.66 32.9\r\n 7 0 5157888 28954 0 0 0 0 0 0 100 98191 31813 39 61 - - 0.42 21.0\r\n\r\nmanual了一把,发现一个-@选项\r\n-@ WparName\r\n Reports the Virtual Memory activity of a workload partition:\r\n * The -@ ALL option indicates that the report pertains to the system and global environment, in addition\r\n to all of the workload partitions in the system. Note: The values that are system-wide statistics are\r\n marked with dash sign (-) against the WPAR section.\r\n * The [email=-@WparName]-@WparName[/email] option indicates that the activity is only for that workload partition. The system-wide\r\n statistics are marked with the at sign (@). Note: Do not use the -@ option with any combination of the\r\n -i option.\r\n执行命令vmstat -@ 1 2,cpuidle可以被获取了,不太明白P6机型做了什么修改,workload partition是啥东东?\r\nSystem configuration: lcpu=4 mem=18432MB ent=2.00\r\nwpar kthr memory page faults cpu \r\n----- ----- ----------- ------------------------ ------------ -----------------------\r\n r b avm fre re pi po fr sr cy in sy cs us sy id wa pc ec\r\nSystem 29 0 5378997 24514 0 1 103 177 257 0 63 136421 88857 31 51 18 0 1.99 99.7\r\nLYH40889B 16 0 - - 0 1 0 0 0 0 - - 37677 38 62 - - 0.93 46.3\r\n------------------------------------------------------\r\nSystem 3 0 5378990 24433 0 0 0 0 0 0 11 98990 95258 16 23 61 0 2.00 100.2\r\nLYH40889B 2 0 - - 0 0 0 0 0 0 - - 32377 43 57 - - 0.42 21.2\r\n------------------------------------------------------ |
|