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
CORE(5) 						      BSD File Formats Manual							   CORE(5)

NAME
core -- memory image file format SYNOPSIS
#include <sys/param.h> DESCRIPTION
A small number of signals which cause abnormal termination of a process also cause a record of the process's in-core state to be written to disk for later examination by one of the available debuggers. (See sigaction(2).) This memory image is written to a file named by default core.pid, where pid is the process ID of the process, in the /cores directory, provided the terminated process had write permission in the directory, and the directory existed. The maximum size of a core file is limited by setrlimit(2). Files which would be larger than the limit are not created. The core file consists of the Mach-O(5) header as described in the <mach-o/loader.h> file. The remainder of the core file consists of vari- ous sections described in the Mach-O(5) header. NOTE
Core dumps are disabled by default under Darwin/Mac OS X. To re-enable core dumps, a privileged user must do one of the following * Edit /etc/launchd.conf or $HOME/.launchd.conf and add a line specifying the limit limit core unlimited * A privileged user can also enable cores with launchctl limit core unlimited * A privileged user can also enable core files by using ulimit(1) or limit(1) depending upon the shell. SEE ALSO
gdb(1), setrlimit(2), sigaction(2), Mach-O(5), launchd.conf(5), launchd.plist(5), sysctl(8) HISTORY
A core file format appeared in Version 6 AT&T UNIX. BSD
June 26, 2008 BSD
All times are GMT -4. The time now is 03:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy