• Increase font size
  • Default font size
  • Decrease font size

How to check CPU Numbers in Linux

 To display number of CPU in system type the following command:

Code:
grep processor /proc/cpuinfo
[root@HC]# grep processor /proc/cpuinfo
processor       : 0
processor       : 1
processor       : 2
processor       : 3

You can always obtain more information about CPU by viewing /proc/cpuinfo file:

Code:
more /proc/cpuinfo
[root@localhost html]# more /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Duo CPU     E4600  @ 2.40GHz
stepping        : 8
cpu MHz         : 2391.677
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxs
r sse sse2 ss nx constant_tsc pni ds_cpl
bogomips        : 4792.43

 

 

Tags:


 

Add comment


Security code
Refresh

Category

Login Form