# Uname-a
Linux localhost.localdomain 2.6.18-164.el5pae #1 SMP Thu Sep 3 04:10:44 EDT i686 i686 i386 gnu/linux
(view current operating system kernel information)
# Lsb_release-a
LSB Version:: Core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarchdistributor id:centosdescription : CentOS Release 5.4 (Final) release:5.4codename:final
(view current operating system release information)
# Cat/proc/cpuinfo | grep name | cut-f2-d: | uniq-c 8 Intel (R) Xeon (r) CPU E5620 @ 2.40GHz
(8 logical CPUs, CPU models)
# Cat/proc/cpuinfo | grep physical | uniq-c
8 Physical id:0
(description is actually a 4-core CPU)
# getconf Long_bit
+ (indicates that the current CPU is running in 32bit mode, but does not mean that the CPU does not support 64bit) # 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)
CentOS View CPU information, number of bits, multi-core information