finding core information in redhat Linux | Unix Linux Forums | Linux

  Go Back    


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

finding core information in redhat Linux

Linux


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-18-2009
manoj.solaris manoj.solaris is offline
Registered User
 
Join Date: May 2007
Last Activity: 27 September 2014, 1:40 AM EDT
Posts: 230
Thanks: 3
Thanked 1 Time in 1 Post
Question finding core information in redhat Linux

Hi,

I want to know how to find out no of cores in linux.

I have given the command more /proc/cpuinfo

NOw I want to know what is diffrence between cpu cores and core id?

How to find out exact no of cores?

Regards,

Manoj
Sponsored Links
    #2  
Old 08-18-2009
mglenney mglenney is offline
Registered User
 
Join Date: Jun 2009
Last Activity: 25 June 2012, 6:34 PM EDT
Posts: 93
Thanks: 1
Thanked 1 Time in 1 Post
You're looking for physical id and core id. They both start from zero. I'm looking at a dual quad core system right now. I have 8 entries that look like:

physical id: 0
core id: 0
physical id: 0
core id: 1
...
physical id: 1
core id: 3

You can also get CPU info with

Code:
dmesg | grep -i cpu

A quick way to see how many cores total is to run 'top' and then press '1' on your keyboard. That will expand out the processor information at the top and will show you all the cores so you can do a quick count.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
finding no of core in processor manoj.solaris Red Hat 4 12-15-2008 07:01 PM
Want API for finding HDA information Anand Phatak AIX 0 02-20-2006 02:03 AM
Finding timezone information kartik.patel Programming 2 11-25-2005 10:39 AM
finding information about a server legato UNIX for Dummies Questions & Answers 3 02-03-2005 10:05 AM
what commands are used to deal with core files on linux redhat??? TRUEST UNIX for Advanced & Expert Users 2 02-20-2003 11:17 AM



All times are GMT -4. The time now is 02:40 AM.