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:
You can also get CPU info with
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.
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
lscpu
LSCPU(1) User Commands LSCPU(1)NAME
lscpu - display information on CPU architecture
SYNOPSIS
lscpu [-hpx] [-s directory]
DESCRIPTION
lscpu gathers CPU architecture information like number of CPUs, threads, cores, sockets, NUMA nodes, information about CPU caches, CPU fam-
ily, model, bogoMIPS, byte order and stepping from sysfs and /proc/cpuinfo, and prints it in a human-readable format. It supports both
online and offline CPUs. It can also print out in a parsable format, including how different caches are shared by different CPUs, which
can be fed to other programs.
OPTIONS -h, --help
Print a help message.
-p, --parse [=list]
Print out in parsable instead of human-readable format.
If the list argument is not given then the default backwardly compatible output is printed. The backwardly compatible format uses
two commas to separate CPU cache columns. If no CPU caches are identified, then the cache columns are not printed at all.
The list argument is comma delimited list of the columns. Currently supported are CPU, Core, Node, Socket, Book and Cache columns.
If the list argument is given then always all requested columns are printed in the defined order. The Cache columns are separated by
':'.
Note that the optional list argument cannot be separated from the option by a space, the correct form is for example '-p=cpu,node'
or '--parse=cpu,node'.
-s, --sysroot directory
Use the specified directory as system root. This allows you to inspect a snapshot from a different system.
-x, --hex
Use hexadecimal masks for CPU sets (e.g. 0x3). The default is to print the sets in list format (e.g. 0,1).
BUGS
The basic overview about CPU family, model, etc. is always based on the first CPU only.
Sometimes in Xen Dom0 the kernel reports wrong data.
AUTHOR
Cai Qian <qcai@redhat.com>
Karel Zak <kzak@redhat.com>
AVAILABILITY
The lscpu command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux February 2011 LSCPU(1)