LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 08-24-2006, 09:30 AM   #1
narensr
Member
 
Registered: Apr 2004
Location: NY
Distribution: RHEL and Fedora
Posts: 30

Rep: Reputation: 15
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
 
Old 08-24-2006, 09:53 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
cat /proc/cpuinfo
 
Old 08-24-2006, 10:14 AM   #3
narensr
Member
 
Registered: Apr 2004
Location: NY
Distribution: RHEL and Fedora
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
Old 08-24-2006, 11:39 AM   #4
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 64
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 ?

Last edited by marozsas; 08-24-2006 at 11:40 AM.
 
Old 08-24-2006, 01:58 PM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
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?
 
Old 08-24-2006, 02:09 PM   #6
narensr
Member
 
Registered: Apr 2004
Location: NY
Distribution: RHEL and Fedora
Posts: 30

Original Poster
Rep: Reputation: 15
thank you very much

Hi bigrigdriver,

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Determining Number of Physical CPU sagarparadkar Solaris / OpenSolaris 4 01-12-2009 11:08 PM
Get CPU Usage as a number 3saul Linux - Software 1 01-06-2006 02:57 AM
How to find CPU Cache ? (apart from dmesg|grep CPU) Dark Carnival Linux - Hardware 3 12-22-2005 08:10 PM
How to find out an error number orlenok Linux - Newbie 2 10-05-2003 12:47 PM
How to find out the port number fmohideen76 Linux - General 3 07-11-2002 09:18 AM


All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration