LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 08: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, 08:53 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
cat /proc/cpuinfo
 
Old 08-24-2006, 09: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, 10:39 AM   #4
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,501
Blog Entries: 2

Rep: Reputation: 68
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 10:40 AM.
 
Old 08-24-2006, 12:58 PM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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, 01: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



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 10:08 PM
Get CPU Usage as a number 3saul Linux - Software 1 01-06-2006 01:57 AM
How to find CPU Cache ? (apart from dmesg|grep CPU) Dark Carnival Linux - Hardware 3 12-22-2005 07:10 PM
How to find out an error number orlenok Linux - Newbie 2 10-05-2003 11:47 AM
How to find out the port number fmohideen76 Linux - General 3 07-11-2002 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:38 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
Open Source Consulting | Domain Registration