1. View operating system kernel information
uname -2.6. -194. El5 #1: £ º x86_64x86_ x86_64 Gnu/linux
2. Query CPU Information
Overall information
Cat /proc/cpuinfo
CPU Name
[[email protected] ~]# cat /proc/cpuinfo | grep Namemodel Name:intel (R) Core (TM) i3 -2310m CPU @ 2 .10ghzmodel Name:intel (R) Core (TM) i3 -2310m CPU @ 2 .10ghzmodel Name:intel (R) Core (TM) i3 -2310m CPU @ 2 .10ghzmodel Name:intel (R) Core (TM) i3 -2310m CPU @ 2 . 10GHz
Cat grep Cut Uniq -c 4 2. 10GHz
CPU Physical Number
Cat grep " Physical ID " Sort Uniq WC -l2
[Email protected] ~]#Cat/proc/cpuinfo |grepPhysical |Uniq-C1PhysicalID:0 1Address sizes: +Bits physical, -bits Virtual1PhysicalID:0 1Address sizes: +Bits physical, -bits Virtual1PhysicalID:1 1Address sizes: +Bits physical, -bits Virtual1PhysicalID:1 1Address sizes: +Bits physical, -Bits virtual
Number of CPU logic
Cat grep " Processor " WC -l4
View CPU Run mode
[Email protected] ~]# getconf long_bit -
See if the CPU supports 64-bit
Cat grep grep ' 'WC -l4(result greater than 0, description supports 64bit calculation. LM refers to long mode, which supports LM is 64bit)
View Cup frequency
Cat grep Uniq CPU MHz 2093.211