1. View current operating system kernel information
[Email protected] tomcat6]$ uname-a
Linux s1pa222 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 00:31:26 UTC x86_64 x86_64 x86_64 gnu/linux
2. View current operating system release information
[Email protected] tomcat6]$ cat/etc/issue
CentOS Release 6.4 (Final)
Kernel \ r on an \m
3. View CPU Model
[Email protected] tomcat6]$ cat/proc/cpuinfo |grep name|cut-d ': '-f 2|uniq-c
4 Intel (R) Xeon (r) CPU E5649 @ 2.53GHz
4. View the number of physical CPUs
[Email protected] tomcat6]$ cat/proc/cpuinfo |grep physical|uniq-c
1 Physical id:0
1 Address sizes:40 bits physical, bits virtual
1 Physical id:0
1 Address sizes:40 bits physical, bits virtual
1 Physical id:1
1 Address sizes:40 bits physical, bits virtual
1 Physical id:1
1 Address sizes:40 bits physical, bits virtual
5. View CPU operating mode
[Email protected] tomcat6]$ getconf long_bit
64
6. See if the CPU supports 64bit
[Email protected] tomcat6]$ cat/proc/cpuinfo |grep flags|grep ' lm ' |wc-l
4
(The result is greater than 0, indicating support for 64bit calculations. LM refers to long mode, which supports LM is 64bit)
7. View CPU Information Summary
[Email protected] tomcat6]$lscpu
ARCHITECTURE:X86_64 #
CPU Op-mode (s): 32-bit, 64-bit
Byte Order:little Endian
CPU (s): 4
On-line CPU (s) list:0-3
Thread (s) per core:1
Core (s) per Socket:2
Socket (s): 2
NUMA node (s): 1
Vendor Id:genuineintel
CPU Family:6
Model:44
Stepping:2
CPU mhz:2533.423
bogomips:5066.84
Hypervisor Vendor:vmware
Virtualization Type:full
L1D cache:32k
L1i cache:32k
L2 cache:256k
L3 cache:12288k
NUMA node0 CPU (s): 0-3
8. View CPU Information Summary (compare all)
[Email protected] tomcat6]$Cat/proc/cpuinfo
processor:0
Vendor_id:genuineintel
CPU Family:6
Model:44
Model Name:intel (R) Xeon (r) CPU E5649 @ 2.53GHz
Stepping:2
CPU mhz:2533.423
Cache size:12288 KB
Physical id:0
Siblings:2
Core id:0
CPU Cores:2
apicid:0
Initial apicid:0
Fpu:yes
Fpu_exception:yes
CPUID level:11
Wp:yes
FLAGS:FPU VME de PSE TSC MSR PAE MCE cx8 APIC Sep MTRR PGE MCA cmov Pat PSE36 clflush DTS ACPI MMX FXSR SSE SS E2 SS HT syscall NX RDTSCP LM constant_tsc Arch_perfmon pebs BTS xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spin Lock PNI pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt AES hypervisor lahf_lm arat EPB DTS
bogomips:5066.84
Clflush size:64
Cache_alignment:64
Address sizes:40 bits physical, bits virtual
Power Management:
Processor:1
Vendor_id:genuineintel
CPU Family:6
Model:44
Model Name:intel (R) Xeon (r) CPU E5649 @ 2.53GHz
Stepping:2
CPU mhz:2533.423
Cache size:12288 KB
Physical id:0
Siblings:2
Core Id:1
CPU Cores:2
Apicid:1
Initial apicid:1
Fpu:yes
Fpu_exception:yes
CPUID level:11
Wp:yes
FLAGS:FPU VME de PSE TSC MSR PAE MCE cx8 APIC Sep MTRR PGE MCA cmov Pat PSE36 clflush DTS ACPI MMX FXSR SSE SS E2 SS HT syscall NX RDTSCP LM constant_tsc Arch_perfmon pebs BTS xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spin Lock PNI pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt AES hypervisor lahf_lm arat EPB DTS
bogomips:5066.84
Clflush size:64
Cache_alignment:64
Address sizes:40 bits physical, bits virtual
Power Management:
Processor:2
Vendor_id:genuineintel
CPU Family:6
Model:44
Model Name:intel (R) Xeon (r) CPU E5649 @ 2.53GHz
Stepping:2
CPU mhz:2533.423
Cache size:12288 KB
Physical Id:1
Siblings:2
Core id:0
CPU Cores:2
Apicid:2
Initial Apicid:2
Fpu:yes
Fpu_exception:yes
CPUID level:11
Wp:yes
FLAGS:FPU VME de PSE TSC MSR PAE MCE cx8 APIC Sep MTRR PGE MCA cmov Pat PSE36 clflush DTS ACPI MMX FXSR SSE SS E2 SS HT syscall NX RDTSCP LM constant_tsc Arch_perfmon pebs BTS xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spin Lock PNI pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt AES hypervisor lahf_lm arat EPB DTS
bogomips:5066.84
Clflush size:64
Cache_alignment:64
Address sizes:40 bits physical, bits virtual
Power Management:
Processor:3
Vendor_id:genuineintel
CPU Family:6
Model:44
Model Name:intel (R) Xeon (r) CPU E5649 @ 2.53GHz
Stepping:2
CPU mhz:2533.423
Cache size:12288 KB
Physical Id:1
Siblings:2
Core Id:1
CPU Cores:2
Apicid:3
Initial Apicid:3
Fpu:yes
Fpu_exception:yes
CPUID level:11
Wp:yes
FLAGS:FPU VME de PSE TSC MSR PAE MCE cx8 APIC Sep MTRR PGE MCA cmov Pat PSE36 clflush DTS ACPI MMX FXSR SSE SS E2 SS HT syscall NX RDTSCP LM constant_tsc Arch_perfmon pebs BTS xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spin Lock PNI pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt AES hypervisor lahf_lm arat EPB DTS
bogomips:5066.84
Clflush size:64
Cache_alignment:64
Address sizes:40 bits physical, bits virtual
Power Management:
View Linux System Information commands (kernel, OS, CPU, etc.)