Sponsored Content
Operating Systems Linux finding core information in redhat Linux Post 302345187 by mglenney on Tuesday 18th of August 2009 04:03:51 PM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. Programming

Finding timezone information

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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
hostinfo(8)						    BSD System Manager's Manual 					       hostinfo(8)

NAME
hostinfo -- host information SYNOPSIS
hostinfo DESCRIPTION
The hostinfo command displays information about the host system on which the command is executing. The output includes a kernel version description, processor configuration data, available physical memory, and various scheduling statistics. OPTIONS
There are no options. DISPLAY
Mach kernel version: The version string compiled into the kernel executing on the host system. Processor Configuration: The maximum possible processors for which the kernel is configured, followed by the number of physical and logical processors avail- able. Note: on Intel architectures, physical processors are referred to as cores, and logical processors are referred to as hardware threads; there may be multiple logical processors per core and multiple cores per processor package. This command does not report the number of processor packages. Processor type: The host's processor type and subtype. Processor active: A list of active processors on the host system. Active processors are members of a processor set and are ready to dispatch threads. On a single processor system, the active processor, is processor 0. Primary memory available: The amount of physical memory that is configured for use on the host system. Default processor set: Displays the number of tasks currently assigned to the host processor set, the number of threads currently assigned to the host proces- sor set, and the number of processors included in the host processor set. Load average: Measures the average number of threads in the run queue. Mach factor: A variant of the load average which measures the processing resources available to a new thread. Mach factor is based on the number of CPUs divided by (1 + the number of runnablethreads) or the number of CPUs minus the number of runnable threads when the number of runnable threads is less than the number of CPUs. The closer the Mach factor value is to zero, the higher the load. On an idle system with a fixed number of active processors, the mach factor will be equal to the number of CPUs. SEE ALSO
sysctl(8) Mac OS X October 30, 2003 Mac OS X
All times are GMT -4. The time now is 01:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy