Sponsored Content
Operating Systems Linux Red Hat finding CPU count - reading sysinfo output Post 302713341 by hnhegde on Wednesday 10th of October 2012 01:51:32 PM
Old 10-10-2012
finding CPU count - reading sysinfo output

Hello,
sysinfo throws out below 3 CPU counts. Can anyone help me understand what each of these means?
Code:
CPU Count Socketed is           2
CPU Count Physical is           8
CPU Count Virtual is            16

First one seems obvious. However, I wonder how there can be 8 Physical CPUs, if only two were socketed? Does it mean each CPU has 4 cores? No clue about Virtual CPUs though.
I couln't find much info on sysinfo man page nor on the web. If there exist any pages, do point me to such.

Thanks
Harsha Hegde
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

CPU count

Is there an easy way in Solaris to count the number of processors? (2 Replies)
Discussion started by: hshapiro
2 Replies

2. UNIX for Advanced & Expert Users

Finding CPU usage by a Unix Process

Hi, I am designing a load balancer for an application. I am trying to find out the CPU usage by a specifc Unix process (PID is known). I guess I can use ps command to find that. can somebody help me in finding what exact command I should use to find? It is on AIX 5.3. Regards Asutosh (2 Replies)
Discussion started by: asutoshch
2 Replies

3. Shell Programming and Scripting

finding duplicate files by size and finding pattern matching and its count

Hi, I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern. Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies

4. Shell Programming and Scripting

Finding total Percentage CPU usage

Hi, How can I find total CPU usage in percentage? e.g. if my system has 8 CPUs and I want to list total usage for all of them, is it possible through a command? I have tried some of the commands like top, mpstat, sar. The output of those commands has to be manipulated to derive the percentage... (14 Replies)
Discussion started by: jal_capri
14 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. UNIX for Dummies Questions & Answers

virtualization (VCPU count according to CPU)

We have purchased four intels xeon processors Intel® Xeon® Processor E7530 (12M Cache, 1.86 GHz, 5.86 GT/s Intel® QPI) with SPEC Code(s) SLBRJ As per the specification each cpu has 6 cores therefore we have 24 cores (considering 4 cpus). Now how would i calculate the number of vcpus that can... (1 Reply)
Discussion started by: pinga123
1 Replies

7. UNIX for Dummies Questions & Answers

Finding cpu utilisation

Hi , I need to find the average percentage of CPU utilisised by a particular process through a shell script. Suppose if a process is running for 6 hours i need to get average CPU utilised by it. Could you please assist me. Thanks, (0 Replies)
Discussion started by: praviper
0 Replies

8. AIX

Finding Physical CPU.

Hi, I am having 2 lpar (AIX 5.3) on p550 box, for both lpar 4 cpu is allocated as dedicated, each lpar is having 4 cpu. I would like to know how to find out Physical CPU attached to that box. how to find out wheather it is dual core or quad core or actually 8 cpu inside the box? HMC is... (4 Replies)
Discussion started by: manoj.solaris
4 Replies

9. Red Hat

CPU Count

Hi, I am observing high load average on RHEL5 server and need to check the number of core processors available on the box to give me a bigger picture on whether or not I should be worried. I have always checked the physical count quite simply..... # grep 'physical id' /proc/cpuinfo |... (10 Replies)
Discussion started by: Duffs22
10 Replies

10. Shell Programming and Scripting

Sysinfo output for lvm commands

Hi folks, I have created a sysinfo script to capture the system information on daily basis which run in cron jobs. Whereas, the output saved in the file are getting disapperared after some times.. Mainly for eg: the lvm commands like pvs,lvs, vgs, lvdisplay, pvdisplay.. ... (2 Replies)
Discussion started by: gsiva
2 Replies
CPUCTL(8)						    BSD System Manager's Manual 						 CPUCTL(8)

NAME
cpuctl -- program to control CPUs SYNOPSIS
cpuctl command [arguments] DESCRIPTION
The cpuctl command can be used to control and inspect the state of CPUs in the system. The first argument, command, specifies the action to take. Valid commands are: identify cpu Output information on the specified CPU's features and capabilities. Not available on all architectures. list For each CPU in the system, display the current state and time of the last state change. offline cpuno Set the specified CPU off line. Unbound LWPs (lightweight processes) will not be executed on the CPU while it is off line. Bound LWPs will continue to be executed on the CPU, and device interrupts routed to the CPU will continue to be handled. A future release of the system may allow device interrupts to be re-routed away from individual CPUs. At least one CPU in the system must remain on line. online cpuno Set the specified CPU on line, making it available to run unbound LWPs. ucode [file] This applies the microcode patch on all CPUs. The default filename is used if no filename is specified. The identify com- mand prints the installed version on that CPU. On success the identify command show different ucode versions before and after this command. FILES
/dev/cpuctl control device /libdata/firmware/x86/amd/ The directory to install the microcode file for AMD CPUs into. The default filename is microcode_amd.bin for CPU families 0x10 to 0x14. The default filename is microcode_amd_famXXh.bin where XX is the CPU family starting with 15 (hex). Get it from http://www.amd64.org/support/microcode.html EXAMPLES
Run cpuctl identify 0 and you should see something like this: cpu0: UCode version: 0x1000080 After applying the microcode patch with cpuctl ucode you can see with cpuctl identify 0 that the patch got applied: cpu0: UCode version: 0x1000083 SEE ALSO
psrset(8), schedctl(8) HISTORY
The cpuctl command first appeared in NetBSD 5.0. BSD
January 13, 2012 BSD
All times are GMT -4. The time now is 07:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy