linux aix檢視CPU和記憶體

guyuanli發表於2009-04-20

aix

檢視CPU
lsdev -Cc processor
sar -P ALL 1
檢視記憶體
一般用svmon -G ,結合一下topas

[@more@]

linux

[oracle@dell2950 proc]$ dmesg | grep CPU | grep ID
CPU0: Physical Processor ID: 0
CPU0: Processor Core ID: 0
CPU0: Initial APIC ID: 0
CPU1: Physical Processor ID: 0
CPU1: Processor Core ID: 1
CPU1: Initial APIC ID: 1
CPU2: Physical Processor ID: 0
CPU2: Processor Core ID: 2
CPU2: Initial APIC ID: 2
CPU3: Physical Processor ID: 0
CPU3: Processor Core ID: 3
CPU3: Initial APIC ID: 3
CPU4: Physical Processor ID: 1
CPU4: Processor Core ID: 4
CPU4: Initial APIC ID: 4
CPU5: Physical Processor ID: 1
CPU5: Processor Core ID: 5
CPU5: Initial APIC ID: 5
CPU6: Physical Processor ID: 1
CPU6: Processor Core ID: 6
CPU6: Initial APIC ID: 6
CPU7: Physical Processor ID: 1
CPU7: Processor Core ID: 7
CPU7: Initial APIC ID: 7
說明是兩個四核的CPU
dmesg |grep CPU
cat /proc/cpuinfo |grep name
cat /proc/meminfo

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7490392/viewspace-1020883/,如需轉載,請註明出處,否則將追究法律責任。

相關文章