LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   how to find number of cores in CPU (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-find-number-of-cores-in-cpu-476930/)

narensr 08-24-2006 08:30 AM

how to find number of cores in CPU
 
Hi,
i am collection inventory of servers in my company for licensing purpose. I can find number of CPU's in a m/c , but how to found number of CORES in each CPU.

Thanks

bigrigdriver 08-24-2006 08:53 AM

cat /proc/cpuinfo

narensr 08-24-2006 09:14 AM

Thanks for the quick reply...
There is nothing about number of cores
here is the output of cat/proc/cpuinfo

processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 37
model name : 02/25
stepping : 1
cpu MHz : 2392.616
cache size : 1024 KB
physical id : 0
siblings : 1
runqueue : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 4771.02

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 37
model name : 02/25
stepping : 1
cpu MHz : 2392.616
cache size : 1024 KB
physical id : 0
siblings : 1
runqueue : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 4784.12

marozsas 08-24-2006 10:39 AM

In the linux jargon, each core is a cpu. From your output we can see you have 2 cores. However, I can't say if it is in the ___same___ die or not.

How about the physical id tag ? Both are 0. Thats mean they are in the same die ?

bigrigdriver 08-24-2006 12:58 PM

Try the instructions here:
http://www.redhat.com/magazine/022au...s/tips_tricks/

Scroll down to:
How do I detect a dual-core CPU on Red Hat Enterprise Linux 4?

narensr 08-24-2006 01:09 PM

thank you very much
 
Hi bigrigdriver,

That's what exactly i am looking for.
Thanks for the info


All times are GMT -5. The time now is 08:22 PM.