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
Solved

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

Posted on 2009-05-07
10
1,323 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
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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 77

Accepted Solution

by:
arnold earned 500 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 77

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 77

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux redhat 7.2 10 88
Delete a folder on a linux computer on a regular basis 10 40
How to enable sync between two yum repo? 1 39
Linux mount of Windows Shared Now Fails 8 75
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

808 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