linux下查看cpu和memery的个数

cuixingwudi 2011-04-20

1.CPU数量

# cat /proc/cpuinfo | grep processor|wc -l
(AIX: # lsdev -C | grep -i processor|wc-l)

2.Memery数量

free
(AIX:# lsdev -C |grep mem)

相关推荐