免费注册 查看新帖 |

Chinaunix

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

[solaris]怎么查看SUN的CPU个数及主频? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2002-05-13 16:52 |只看该作者 |倒序浏览
solaris上有命令可以看到机器CPU个数及主频吗?

Mabe I can use \'prtconf |grep Memory\' check the memory installed in Sun.
And then,How can I get the number of CPU and the clock?

Thanks!

论坛徽章:
0
2 [报告]
发表于 2002-05-13 17:43 |只看该作者
是否有个命令叫prtdiag

论坛徽章:
0
3 [报告]
发表于 2002-05-13 18:11 |只看该作者
use \"mpstat\" you can find how many cpu you have.

论坛徽章:
0
4 [报告]
发表于 2002-05-13 18:14 |只看该作者
对,找到 /usr/platform/sun4u/sbin/prtdiag 命令。


I got it,thanks  coolhfhuang\'s helping  and northeast1\'s hosts!

论坛徽章:
0
5 [报告]
发表于 2002-05-14 02:49 |只看该作者

How about AIX?

which command can i use?

论坛徽章:
0
6 [报告]
发表于 2002-05-14 09:13 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
7 [报告]
发表于 2002-05-14 09:34 |只看该作者

lsattr

receive this error message:  
0514-517 The information provided to this configuration command
        was not adequate to uniquely identify the device.
        Provide more device information than the following:
        */*/*            

Maybe because i am not root

论坛徽章:
0
8 [报告]
发表于 2002-05-14 14:40 |只看该作者
/usr/sbin/psrinfo -v 也管用的。

mpstat 看CPU个数可以,但没有主频。
# /usr/bin/mpstat
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  0    3   0    0   216   14   53    2    0    0    0   337    0   0   0  99
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP