Results 1 to 3 of 3
Hi,
I want to know exactly how many physical processor I have on my machine:
I have my /proc/cpuinf file, its showing 4 different physical ids and does this mean ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-26-2009 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 5
number of physical processors
Hi,
I want to know exactly how many physical processor I have on my machine:
I have my /proc/cpuinf file, its showing 4 different physical ids and does this mean that I have 4 physical processors?
But As per my knowledge, I have 2 physical processors on my machine.
Has anyone seen this issue?
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.00GHz
stepping : 3
cpu MHz : 2992.648
cache size : 2048 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips : 7484.92
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.00GHz
stepping : 3
cpu MHz : 2992.648
cache size : 2048 KB
physical id : 1
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips : 7484.92
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.00GHz
stepping : 3
cpu MHz : 2992.648
cache size : 2048 KB
physical id : 2
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips : 7484.92
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.00GHz
stepping : 3
cpu MHz : 2992.648
cache size : 2048 KB
physical id : 3
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips : 7484.92
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
- 02-27-2009 #2
This just means you have 4 cores. If you have 2 x CPU, it means they are both 'dual-core'.
On a Fedora/RedHat box you can check /etc/sysconfig/hwconf I think.
- 07-06-2010 #3Just Joined!
- Join Date
- Jul 2010
- Posts
- 2
Check "physical id"
/proc/cpuinfo shows all available cores. "physical id" field for each processor shows which Processor the given core belongs. So you shall use following command to get number of physical cores. More details can be found at theunixtips.com slash how-to-find-number-of-cpus-on-unix-system
grep “^physical id” /proc/cpuinfo | awk ‘{print $NF}’ | sort -u | wc -l



