可以直接用命令prtconf查看,得到的输出有类似下面的行,其中number of processors 就是这个aix系统所拥有的核心数:
$ prtconf
System Model: IBM,8284-22A
Machine Serial Number: ********
Processor Type: PowerPC_POWER8
Processor Implementation Mode: POWER 8
Processor Version: PV_8_Compat
Number Of Processors: 2
Processor Clock Speed: 4157 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: ************
Memory Size: 16384 MB
Good Memory Size: 16384 MB