finding core information in redhat Linux


 
Thread Tools Search this Thread
Operating Systems Linux finding core information in redhat Linux
# 1  
Old 08-18-2009
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
# 2  
Old 08-18-2009
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Core and cpu information of HP-UX machine

Hi All, i am trying to retrive below information from any hp-ux machine (physical & virtual both): 1.Processor Total Count: 2.Processor Core Count: 3.Processor type: 4.number of physical processors: 5 number of virtual processors: i am trying to use command 'print_manifest' as... (0 Replies)
Discussion started by: omkar.jadhav
0 Replies

2. Solaris

SNMP - cpu core information for Sun SPARC machine

Dears, I'm looking for getting CPU cores information of Sun machines (like: SunFire V880, Fujitsu SPARC T5120, ...) via SNMP, unfortunately i couldn't find the proper OID for that. Can anyone help me with this ? Thanks, (1 Reply)
Discussion started by: Anti_Evil
1 Replies

3. Red Hat

Difference Redhat Linux/RH Enterprise Linux

what is the difference between Redhat Linux and Redhat Enterprise Linux. whereas Redhat linux have Server installation options too. (2 Replies)
Discussion started by: hananabbas
2 Replies

4. Red Hat

Finding disk information

Hi, I would like to know how to find out whether hard disk is local or mapped from storage, on my server both hard disk are there, Please guide me. Regards, Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies

5. AIX

Finding cpu information on vio client

Hi, I am having single p series blade with Single Physcial CPU with dual core, on that vio server is installed, I have created vio client allocate 0.9 each cpu , now when I am running prtconf command on vio client it is showing "2" no of processor, My query using which command it will... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

6. Red Hat

finding no of core in processor

Hi, what is command to find out no of core per procssor? Regards, Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies

7. AIX

Want API for finding HDA information

Hi all, I am finding api for getting information about physical volumes such as device name, vendor, serial number etc. And I want to do it in C. :( :( please tell me any way out.... If your answer is use IOCTL, which i dont know how to use... (0 Replies)
Discussion started by: Anand Phatak
0 Replies

8. Programming

Finding timezone information

how to extract current/existing timezone information ?? (2 Replies)
Discussion started by: kartik.patel
2 Replies

9. UNIX for Dummies Questions & Answers

finding information about a server

hi can i know how to find out basic information about a server OS version, num of CPU, memory size, SI no. i ran the comman below... uname -a SunOS statsfs07 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-4 from this how do i know which version is it in? thanks (3 Replies)
Discussion started by: legato
3 Replies

10. UNIX for Advanced & Expert Users

what commands are used to deal with core files on linux redhat???

how do you cause a running pocess to dump a core file on linux systems?? i tried sleep 100 & kill -SEGV PID but nothing is created also, what commands can be used to analyze them? (extract useful info from them) (2 Replies)
Discussion started by: TRUEST
2 Replies
Login or Register to Ask a Question