?
Solved

CPU's in a server. Understanding /proc/cpuinfo

Posted on 2009-05-07
10
Medium Priority
?
1,345 Views
Last Modified: 2013-12-16
We have this server and I have no idea how many processors it has so i typed the command below but I dont really understand it. Does this mean its a quad core or two dual core processors?

[root@mail ~]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 1
cpu MHz         : 2793.539
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips        : 5589.55

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 1
cpu MHz         : 2793.539
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips        : 5586.41

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 1
cpu MHz         : 2793.539
cache size      : 1024 KB
physical id     : 3
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 6
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips        : 5586.38

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 1
cpu MHz         : 2793.539
cache size      : 1024 KB
physical id     : 3
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 7
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips        : 5586.41

0
Comment
Question by:Network_Padawan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 24332846
it is 4 processors system with 1 core each
0
 
LVL 5

Expert Comment

by:0ren
ID: 24333221
try dmidecode
0
 
LVL 14

Expert Comment

by:cjl7
ID: 24333231
dmidecode will give you the "human name" for the cpu, paste into google... ;)
0
Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

 

Author Comment

by:Network_Padawan
ID: 24333258
What tells you that?

I need to know for certain as the vmware licensing for this box is dependant on the number of processors.

0
 
LVL 79

Accepted Solution

by:
arnold earned 1500 total points
ID: 24333354
You have two CPU with HyperThreading enabled.
It is easier to know based on the Hardware.
Note the Physical ID 0,3 suggest only two physical processors. Core ID 0 and CPU cores 1 suggest that each processor has a single core.
The family 15 model 4 stepping 1 is a way to get detailed information from Intel about the processor.
0
 
LVL 1

Expert Comment

by:busjahn
ID: 24338651
cpuinfo will not tell you the number of processors vs. the number of cores.  My Phenom II is a quad core processor, but cpuinfo still reports it as 4 individual processors.

arnold is correct however, that the family 15 model 4 is a good way to determine exactly what the processor is.  Stepping isn't related to the type of processor, only the manufacturing sequence.
0
 
LVL 16

Expert Comment

by:ai_ja_nai
ID: 24344802
>You have two CPU with HyperThreading enabled.

How do you know that? cpuinfo won't display that information. You have to search google for the exact hardware you have
0
 
LVL 79

Expert Comment

by:arnold
ID: 24348657
ai_ja_nai, this is easily confirmed.  The user might be able to turn off hyperthreading through the BIOS if it is enable as I think.  Then once the system boots, cpuinfo will reflect a pair of CPUs.
0
 
LVL 16

Expert Comment

by:ai_ja_nai
ID: 24350171
I know that you can test it that way, but I was talking about cpuinfo alone ;)
0
 
LVL 79

Expert Comment

by:arnold
ID: 24350381
The newer version of cpuinfo as reflected in this post, seems to have the necessary components to differentiate between multi-core cpus.
cpu cores, physical id, core id.
Physical ID assigns a Unique ID to each CPU.
CPU cores reflects the number of Cores making up the CPU
core Id: identifies the core represented.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 7 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question