一. CPU信息
1. AIX
1.查看CPU核心数:# pmcycles -m
# pmcycles -m Cpu 0 runs at 1900 MHz Cpu 1 runs at 1900 MHz Cpu 2 runs at 1900 MHz Cpu 3 runs at 1900 MHz
2.查看逻辑CPU个数# bindprocessor -q
# bindprocessor -q The available processors are: 0 1 2 3
3.查看CPU物理个数:
方法一:# prtconf|grep Processors
# prtconf|grep Processors Number Of Processors: 2
方法二:# lsdev -Cc processor
# lsdev -Cc processor proc0 Available 00-00 Processor proc2 Available 00-02 Processor
3.查看单个CPU信息:# lsattr -E -l proc0
# lsattr -E -l proc0 frequency 1900098000 Processor Speed False smt_enabled true Processor SMT enabled False smt_threads 2 Processor SMT threads False state enable Processor state False type PowerPC_POWER5 Processor type False
2.Linux
1.查看cpu核数
grep -c 'processor' /proc/cpuinfo
2.查询CPU个数:
cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l
您暂时无权查看此隐藏内容!
内容查看价格0.5元立即支付
注意:本站少数资源收集于网络,如涉及版权等问题请及时与站长联系,我们会在第一时间内与您协商解决。如非特殊说明,本站所有资源解压密码均为:zhangqiongjie.com。
作者:1923002089
评论前必须登录!
注册