请问AIX下如用命令获取CPU频率、和CPU型号,多CPU情况下?

如题所述

可以用topas或者prtconf 命令

prtconf:

#prtconf|more
System Model: IBM,9133-55A
Machine Serial Number:
Processor Type: PowerPC_POWER5

Number Of Processors: 2
Processor Clock Speed: 1900 MHz
CPU Type: 64-bit
Kernel Type: 64-bit

LPAR Info: 1 06-69C4H
Memory Size: 23952 MB
Good Memory Size: 23952 MB
Platform Firmware level: Not Available
Firmware Version: IBM,SF240_358
Console Login: enable
Auto Restart: false
Full Core: false
......追问

你好怎么将信息筛选出来啊

追答

Number Of Processors: 2
Processor Clock Speed: 1900 MHz
CPU Type: 64-bit
Kernel Type: 64-bit

prtconf里的这些就是CPU信息。如果要筛选出来用下面命令

prtconf |grep Processor 得到的显示信息如下:

Processor Type: PowerPC_POWER5
Number Of Processors: 2
Processor Clock Speed: 1900 MHz
Model Implementation: Multiple Processor, PCI bus
+ proc0 Processor
+ proc2 Processor

温馨提示:答案为网友推荐,仅供参考
第1个回答  2012-08-06
楼上的答案已经很详细了
型号 Processor Type: PowerPC_POWER5
数量 Number Of Processors: 2
频率 Processor Clock Speed: 1900 MHz