免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2622 | 回复: 3
打印 上一主题 下一主题

[小机硬件] AIXP6的vmstat获取cpuidle的疑惑 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-11-30 14:33 |只看该作者 |倒序浏览
在5.3的机器上,vmstat 1 2,cpu idle值可以正确得到

System Configuration: lcpu=8 mem=7808MB

kthr    memory              page              faults        cpu   
----- ----------- ------------------------ ------------ -----------
r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa
0  0 998515 882178   0   0   0   0    0   0  10  422 257  0  0 99  0
0  0 998515 882178   0   0   0   0    0   0  20  581 245  0  0 99  0

但在6.1机器上vmstat 1 2的结果确如下
LYH40889B configuration: @lcpu=4 @mem=18432MB @ent=2.00
kthr    memory              page              faults              cpu         
----- ----------- ------------------------ ------------ -----------------------
          @     @                           @    @                           @
r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa    pc    ec
11  0 5158591 28265   0   0   5   5    0   0  33 97487 34424 45 55  - -   0.66  32.9
7  0 5157888 28954   0   0   0   0    0   0 100 98191 31813 39 61  -  -   0.42  21.0

manual了一把,发现一个-@选项
-@ WparName
            Reports the Virtual Memory activity of a workload partition:
              *    The -@ ALL option indicates that the report pertains to the system and global environment, in addition
                   to all of the workload partitions in the system. Note: The values that are system-wide statistics are
                   marked with dash sign (-) against the WPAR section.
              *    The [email=-@WparName]-@WparName[/email] option indicates that the activity is only for that workload partition. The system-wide
                   statistics are marked with the at sign (@). Note: Do not use the -@ option with any combination of the
                   -i option.
执行命令vmstat -@ 1 2,cpuidle可以被获取了,不太明白P6机型做了什么修改,workload partition是啥东东?
System configuration: lcpu=4 mem=18432MB ent=2.00
wpar  kthr    memory              page              faults              cpu         
----- ----- ----------- ------------------------ ------------ -----------------------
       r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa    pc    ec
System 29  0 5378997 24514   0   1 103 177  257   0  63 136421 88857 31 51 18  0  1.99  99.7
LYH40889B 16  0     -     -   0   1   0   0    0   0   -    - 37677 38 62  -  -   0.93  46.3
------------------------------------------------------
System  3  0 5378990 24433   0   0   0   0    0   0  11 98990 95258 16 23 61  0  2.00 100.2
LYH40889B  2  0     -     -   0   0   0   0    0   0   -    - 32377 43 57  -  -   0.42  21.2
------------------------------------------------------

论坛徽章:
0
2 [报告]
发表于 2009-11-30 14:39 |只看该作者
你想知道啥?

论坛徽章:
0
3 [报告]
发表于 2009-11-30 14:43 |只看该作者

回复 #2 AIX深入敌后 的帖子

6.1的-@是做什么用的?workload partition是什么东西?
为什么普通的vmstat 1 2获取不到cpuidle?

忘不吝赐教,多谢

论坛徽章:
0
4 [报告]
发表于 2009-11-30 17:54 |只看该作者
并非P6的修改,是AIX6引入的新功能。
工作负载分区
同一个AIX环境下,可以运行多个负载环境
上IBM上搜搜workload partition就只到是什么了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP