#dmesg |grep -ixeon
CPU0: Intel(R) Xeon(R)CPUE5520 @ 2.27GHz stepping 05
CPU1: Intel(R) Xeon(R)CPUE5520 @ 2.27GHz stepping 05
CPU2: Intel(R) Xeon(R)CPUE5520 @ 2.27GHz stepping 05
CPU3: Intel(R) Xeon(R)CPUE5520 @ 2.27GHz stepping 05
CPU4: Intel(R) Xeon(R)CPUE5520 @ 2.27GHz stepping 05
CPU5: Intel(R) Xeon(R)CPUE5520 @ 2.27GHz stepping 05
CPU6: Intel(R) Xeon(R)CPUE5520 @ 2.27GHz stepping 05
CPU7: Intel(R) Xeon(R)CPUE5520 @ 2.27GHz stepping 05
显示8颗cpu,型号是E5520
上网搜出Intel XeonE5520是4核,所以查询的机器是2颗cpu,每颗cpu四核
#free-m 以MB为单位查询内存
totalusedfreesharedbufferscached
Mem:60765725504057392
-/+buffers/cache:1215954
Swap:553505535
内存是6.076G
#df -m以MB为单位查询
Filesystem1M-块已用可用 已用% 挂载点
/dev/mapper/VolGroup00-LogVol00
1321662779122674 3% /
/dev/cciss/c0d0p1993164 33% /boot
none303903039 0% /dev/shm
硬盘132G+3G=135G
top - 11:04:08 up 14 days, 13:06, 1user, load average: 0.00, 0.00, 0.00
Tasks: 91total, 1running, 88sleeping, 2stopped, 0 zombie
Cpu0 : 0.0%us, 0.0% sy, 0.0% ni, 99.7%id, 0.3% wa, 0.0%hi, 0.0% si
Cpu1 : 0.0%us, 0.0% sy, 0.0% ni, 100.0%id, 0.0% wa, 0.0%hi, 0.0% si
Cpu2 : 0.0%us, 0.0% sy, 0.0% ni, 99.7%id, 0.3% wa, 0.0%hi, 0.0% si
Cpu3 : 0.0%us, 0.0% sy, 0.0% ni, 100.0%id, 0.0% wa, 0.0%hi, 0.0% si
Cpu4 : 0.0%us, 0.0% sy, 0.0% ni, 100.0%id, 0.0% wa, 0.0%hi, 0.0% si
Cpu5 : 0.0%us, 0.0% sy, 0.0% ni, 100.0%id, 0.0% wa, 0.0%hi, 0.0% si
Cpu6 : 0.0%us, 0.0% sy, 0.0% ni, 100.0%id, 0.0% wa, 0.0%hi, 0.0% si
Cpu7 : 0.0%us, 0.0% sy, 0.0% ni, 100.0%id, 0.0% wa, 0.0%hi, 0.0% si
Mem: 6222096ktotal, 586464kused, 5635632kfree, 59344kbuffers
Swap: 5668856ktotal,0k used, 5668856kfree, 402416k cached