Sponsored Content
Full Discussion: Find cpu location
Operating Systems Linux Red Hat Find cpu location Post 302850237 by verdepollo on Wednesday 4th of September 2013 10:15:55 AM
Old 09-04-2013
CPU 23 is not a "real" CPU but a thread within a single logical processor.

"Physically" it would either be located on socket 1 or socket 2 but some processors share the same dice for both physical CPUs (if you opened the chasis you'd only find a single CPU component).

A thread may have affinity which means that it can be pinned to a single core/CPU or a range of cores where it can freely move.

Take a look at the contents of /proc/cpuinfo for more information.

If you really need a physical representation of a thread, then you'll be talking about electrical pulses running through a semiconductor array.

Last edited by verdepollo; 09-11-2013 at 03:12 PM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find a pattern in a file at a particular location

Hi all, I have a question on how to search for a pattern in a file and return a value if it is present at that particular location. How to read each line and each character for the pattern in the file of any format. Eg for the file format: attached the file (1 Reply)
Discussion started by: sparks
1 Replies

2. Shell Programming and Scripting

How to find the job and its location

Guys; I first I thank you for helping me few times in the past; A job runs every day at 8AM and looks for a file “abcd.txt” in directory “/usr/task/tmp”. How to find the job and its location. I need to change the file name to “abcd.dat”. it is UNIX environment. (2 Replies)
Discussion started by: clem2610
2 Replies

3. UNIX for Dummies Questions & Answers

df -h command, can't seem to find real location

Hi, I need your help. I am at a new place, just trying to understand what's going on here. When I do df -h, I see many mounts. But most of them are automount, how do I find the real location? netappt1:/vol/homet2/sthan 1.7T 1.2T 527G 69% /home/sthan... (4 Replies)
Discussion started by: samnyc
4 Replies

4. Shell Programming and Scripting

using find to go directly into a directory location

is there any other useful command to go into a specific directory and not go into its subdirectories that operates similar to find.? (it will return the full pathname?) or is there any way to make find not go into the subdirectories of the specified directory? This is on ksh as well. (3 Replies)
Discussion started by: bjhum33
3 Replies

5. Red Hat

Find Computer Location

Hi, there, How to know location of a computer where its IP Address and Computer name is known? tx (5 Replies)
Discussion started by: budiantho_indra
5 Replies

6. Shell Programming and Scripting

How to find a existing file location and directory location in Solaris box?

Hi This is my third past and very impressed with previous post replies Hoping the same for below query How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies

7. UNIX for Dummies Questions & Answers

Find a set of files in a location

Hi, I am new to Unix. I need a script to check some 74 files are present in a particular location or not . (4 Replies)
Discussion started by: nid21
4 Replies

8. UNIX for Dummies Questions & Answers

Find the location of particular file and directory

hi all, i am new to UNIX environment. i have a file and directory with same name, i don't know the location I want to find location of that file and directory. please suggest a solution. (5 Replies)
Discussion started by: mahesh1987
5 Replies

9. IP Networking

Where to find IP address to location data?

I'm trying to remotely probe a range of IP addresses. First I need a list of IP addresses for a very small geographic area. I've had a lot of trouble obtaining them. I would like to find a database or something. Suppose I do get the data. Can I see if that IP address is in use by someone? Can I... (2 Replies)
Discussion started by: rockandAir
2 Replies

10. Windows & DOS: Issues & Discussions

[Windows 7 x64] Find FFMPEG location ?

So, I have ffmpeg already installed on my machine, however I can't for the life of me figure out *where* Expanding the %path% variable shows: no ffmpeg there Not in the Usual "Programs" Folder, or C: either. Any way to find out where on my machine ffmpeg resides ? Thanks in advance: ... (2 Replies)
Discussion started by: pasc
2 Replies
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)
All times are GMT -4. The time now is 02:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy