Linux下如何查看CPU信息相关命令
2012-04-01 17:38
525 查看
# uname -a(查看当前操作系统内核信息)
Linux DB_SERVER 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux
# cat /etc/issue | grep release (查看当前操作系统发行版信息)
CentOS release 5.5 (Final)
# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c (看到有4个逻辑CPU, 也知道了CPU型号)
4 Intel(R) Xeon(R) CPU E5504 @ 2.00GHz
# cat /proc/cpuinfo | grep physical | uniq -c
4 physical id : 0
# getconf LONG_BIT(当前CPU运行在32bit模式下, 但不代表CPU不支持64bit)
32
# cat /proc/cpuinfo | grep flags | grep ' lm ' | wc -l (结果大于0, 说明支持64bit计算. lm指long mode, 支持lm则是64bit)
4
# dmidecode | grep -A48 'Processor Information$'(完整看cpu物理信息)
Processor Information
Socket Designation: Proc 1
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: 76 06 01 00 FF FB EB BF
Signature: Type 0, Family 6, Model 23, Stepping 6
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (Fast floating-point save and restore)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Hyper-threading technology)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Not Specified
Voltage: 1.4 V
External Clock: 1333 MHz
Max Speed: 4800 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: ZIF Socket
L1 Cache Handle: 0x0710
L2 Cache Handle: 0x0720
L3 Cache Handle: 0x0730
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
--
Processor Information
Socket Designation: Proc 2
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: 00 00 00 00 00 00 00 00
Signature: Type 0, Family 0, Model 0, Stepping 0
Flags: None
Version: Not Specified
Voltage: 1.4 V
External Clock: 200 MHz
Max Speed: 4800 MHz
Current Speed: Unknown
Status: Unpopulated
Upgrade: ZIF Socket
L1 Cache Handle: 0x0716
L2 Cache Handle: 0x0726
L3 Cache Handle: 0x0736
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Handle 0x0710, DMI type 7, 19 bytes.
Cache Information
Socket Designation: Processor 1 Internal L1 Cache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 128 KB
Maximum Size: 128 KB
Supported SRAM Types:
Burst
Installed SRAM Type: Burst
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 8-way Set-associative
Handle 0x0716, DMI type 7, 19 bytes.
Cache Information
Socket Designation: Processor 2 Internal L1 Cache
Configuration: Disabled, Not Socketed, Level 1
Operational Mode: Unknown
Location: Internal
Installed Size: 0 KB
Maximum Size: 128 KB
Supported SRAM Types:
Burst
Installed SRAM Type: Burst
Linux DB_SERVER 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux
# cat /etc/issue | grep release (查看当前操作系统发行版信息)
CentOS release 5.5 (Final)
# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c (看到有4个逻辑CPU, 也知道了CPU型号)
4 Intel(R) Xeon(R) CPU E5504 @ 2.00GHz
# cat /proc/cpuinfo | grep physical | uniq -c
4 physical id : 0
# getconf LONG_BIT(当前CPU运行在32bit模式下, 但不代表CPU不支持64bit)
32
# cat /proc/cpuinfo | grep flags | grep ' lm ' | wc -l (结果大于0, 说明支持64bit计算. lm指long mode, 支持lm则是64bit)
4
# dmidecode | grep -A48 'Processor Information$'(完整看cpu物理信息)
Processor Information
Socket Designation: Proc 1
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: 76 06 01 00 FF FB EB BF
Signature: Type 0, Family 6, Model 23, Stepping 6
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (Fast floating-point save and restore)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Hyper-threading technology)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Not Specified
Voltage: 1.4 V
External Clock: 1333 MHz
Max Speed: 4800 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: ZIF Socket
L1 Cache Handle: 0x0710
L2 Cache Handle: 0x0720
L3 Cache Handle: 0x0730
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
--
Processor Information
Socket Designation: Proc 2
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: 00 00 00 00 00 00 00 00
Signature: Type 0, Family 0, Model 0, Stepping 0
Flags: None
Version: Not Specified
Voltage: 1.4 V
External Clock: 200 MHz
Max Speed: 4800 MHz
Current Speed: Unknown
Status: Unpopulated
Upgrade: ZIF Socket
L1 Cache Handle: 0x0716
L2 Cache Handle: 0x0726
L3 Cache Handle: 0x0736
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Handle 0x0710, DMI type 7, 19 bytes.
Cache Information
Socket Designation: Processor 1 Internal L1 Cache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 128 KB
Maximum Size: 128 KB
Supported SRAM Types:
Burst
Installed SRAM Type: Burst
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 8-way Set-associative
Handle 0x0716, DMI type 7, 19 bytes.
Cache Information
Socket Designation: Processor 2 Internal L1 Cache
Configuration: Disabled, Not Socketed, Level 1
Operational Mode: Unknown
Location: Internal
Installed Size: 0 KB
Maximum Size: 128 KB
Supported SRAM Types:
Burst
Installed SRAM Type: Burst
相关文章推荐
- Linux下查看CPU、内存和硬盘型号及相关信息命令
- linux 查看cpu相关信息命令
- linux如何查看CPU,内存,机器型号,网卡信息
- Linux中 如何查看Ubuntu内存信息? 查看内存信息的命令
- linux查看硬件和系统信息的相关命令简介
- Linux——查看CPU信息、机器型号等硬件信息+cut命令
- Linux查看CPU型号及内存频率及其它信息与清理内存的命令
- Linux下如何查看CPU信息, 包括位数和多核信息
- Linux命令:查看os和cpu信息
- Linux下查看CPU信息命令
- linux 命令查看CPU和内存信息
- Linux下查看CPU、内存和硬盘信息命令
- linux查看内核、cpu、mem、gcc、libc信息的命令
- 学习Log中'main', 'system', 'radio', 'events' | 如何查看linux用户和组信息 | chown命令学习
- 查看linux系统版本,内核,CPU,MEM,位数的相关命令
- Linux下如何查看CPU型号、个数、核数、逻辑CPU数、位数、发行版本、内核信息、内存、服务器生产厂家
- Linux下如何查看CPU信息, 包括位数和多核信息
- 如何用linux查看系统信息命令
- Linux下查看CPU、内存和硬盘信息命令
- 在Linux/centos下查看网卡型号,如何查看主板型号,CPU/显卡信息,硬盘型号等硬件信息