免费注册 查看新帖 |

Chinaunix

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

偶也来送分,先到先得(18):怎么查看zone分配和消耗的资源 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-04 13:46 |只看该作者 |倒序浏览
10可用积分

最佳答案

论坛徽章:
0
2 [报告]
发表于 2009-09-04 13:46 |只看该作者
prstat -Z

论坛徽章:
0
3 [报告]
发表于 2009-09-04 14:16 |只看该作者
抢啦


pooladm

poolcfg -c info

使用 zonecfg 命令同时为全局区域和非全局区域指定这些限制。请参见如何配置区域。

从 Solaris 10 8/07 发行版开始,设置区域范围资源控制的首选的、更简单的方法是使用属性名称,而不是使用 rctl 资源。

Solaris 10 5/08: zone.cpu-cap 资源控制用于对某个区域可占用的 CPU 资源量设置绝对限制。值 100 表示将一个 CPU 的 100% 用作 project.cpu-cap 设置。值 125 表示 125%,因为在使用 CPU 上限时,100% 对应于系统中的一个 CPU。

[ 本帖最后由 yuio654 于 2009-9-4 14:19 编辑 ]

评分

参与人数 1可用积分 +10 收起 理由
yuhuohu + 10 补分 呵呵

查看全部评分

论坛徽章:
0
4 [报告]
发表于 2009-09-04 15:11 |只看该作者
胜读十年书啊

论坛徽章:
0
5 [报告]
发表于 2009-09-05 02:04 |只看该作者
sar     抢分

论坛徽章:
0
6 [报告]
发表于 2009-09-05 10:37 |只看该作者
rcapstat  看mem

poolstat 看 cpu

论坛徽章:
0
7 [报告]
发表于 2009-09-07 16:09 |只看该作者
# pooladm
pooladm: couldn't open pools state file: Facility is not active
# poolcfg -c info
poolcfg: cannot load configuration from /etc/pooladm.conf: No such file or directory
# poolstat
poolstat: couldn't open pools state file: Facility is not active

论坛徽章:
0
8 [报告]
发表于 2009-09-07 16:15 |只看该作者
rcapstat -z 2 2

prstat -Z可以

论坛徽章:
0
9 [报告]
发表于 2009-09-08 14:27 |只看该作者
原帖由 yuhuohu 于 2009-9-7 16:09 发表
# pooladm
pooladm: couldn't open pools state file: Facility is not active
# poolcfg -c info
poolcfg: cannot load configuration from /etc/pooladm.conf: No such file or directory
# poolstat
po ...




bash-3.00# pooladm

system default
        string  system.comment
        int     system.version 1
        boolean system.bind-default true
        string  system.poold.objectives wt-load

        pool pool_default
                int     pool.sys_id 0
                boolean pool.active true
                boolean pool.default true
                string  pool.scheduler FSS
                int     pool.importance 1
                string  pool.comment
                pset    pset_default

        pset pset_default
                int     pset.sys_id -1
                boolean pset.default true
                uint    pset.min 1
                uint    pset.max 65536
                string  pset.units population
                uint    pset.load 9
                uint    pset.size 1
                string  pset.comment

                cpu
                        int     cpu.sys_id 0
                        string  cpu.comment
                        string  cpu.status on-line
bash-3.00# poolcfg -c info

system default
        string  system.comment
        int     system.version 1
        boolean system.bind-default true
        string  system.poold.objectives wt-load

        pool pool_default
                int     pool.sys_id 0
                boolean pool.active true
                boolean pool.default true
                string  pool.scheduler FSS
                int     pool.importance 1
                string  pool.comment
                pset    pset_default

        pset pset_default
                int     pset.sys_id -1
                boolean pset.default true
                uint    pset.min 1
                uint    pset.max 65536
                string  pset.units population
                uint    pset.load 2993
                uint    pset.size 1
                string  pset.comment

                cpu
                        int     cpu.sys_id 0
                        string  cpu.comment
                        string  cpu.status on-line



bash-3.00# poolstat
                              pset
id pool                 size used load
  0 pool_default            1 0.00 0.01

论坛徽章:
0
10 [报告]
发表于 2009-09-09 12:58 |只看该作者
原帖由 yuio654 于 2009-9-8 14:27 发表




bash-3.00# pooladm

system default
        string  system.comment
        int     system.version 1
        boolean system.bind-default true
        string  system.poold.objectives ...


分数已补
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP