Sponsored Content
Full Discussion: Multiple CPUs
Operating Systems Solaris Multiple CPUs Post 302104296 by FredSmith on Wednesday 24th of January 2007 02:41:52 PM
Old 01-24-2007
Multiple CPUs

I have a Sun server with 4 CPUs.

How can I verify if all 4 are being used?

When I use top, it doesn't seem to break it down into 4 cpus, should it?


example:
load averages: 1.14, 1.06, 0.88; up 27+03:16:09 14:39:30
148 processes: 145 sleeping, 1 running, 2 on cpu
CPU states: 66.3% idle, 12.3% user, 8.3% kernel, 13.1% iowait, 0.0% swap
 

10 More Discussions You Might Find Interesting

1. HP-UX

How Many CPUs? (Itanium)

I've got a dual CPU Itanium server that we use for hosting our Oracle database. It's been up and running fine for quite some time. So well, in fact, that I haven't even looked at 'top' in a while. Recently I needed to look at 'top' and I only see one CPU listed now. CPU0. Is there any other... (5 Replies)
Discussion started by: deckard
5 Replies

2. Solaris

how can i know how many cpus i have?

installed in my mechine? or any info about the configuretion of the cpus? thanks (4 Replies)
Discussion started by: umen
4 Replies

3. AIX

CPUs information on IBM AIX 4.3

Hi, I would like to know how can i get information like %user %kernel %idle etc for each cpu. Getting the infomation for the complete system cpu usage is given below but can you help me in getting each cpu information from cpu 0 to cpu n-1. Is there any kernel symbol for that and if there is how... (0 Replies)
Discussion started by: uiqbal
0 Replies

4. UNIX for Advanced & Expert Users

What Are the Differences Between Itanium and x86_64 CPUs?

This is definitely a "stupid" question, but I can't think of anywhere else to ask it, so here goes. My knowledge of CPU history on big iron machines starts with the last DEC Alphas, a short stint with Sun servers, PA-RISC and Itanium, Intel 486s on the desktop before that, and Motorola 68000 CPUs... (4 Replies)
Discussion started by: deckard
4 Replies

5. UNIX for Dummies Questions & Answers

uptime, load average, and # cpus

I was told that there is a correspondance between the number of cpus, the load averages, and when the cpus reach 100% capacity. I have 4 cpus and said that once the numbers hit 4.00, my CPUs are 100% at capacity. load average: 0.08, 0.09, 0.11 Is that correct? Thank you (7 Replies)
Discussion started by: csross
7 Replies

6. UNIX for Dummies Questions & Answers

Interpreting prtdiag output - 2 or 4 CPUs?

I am having trouble figuring this one out.....Is this a 2CPU or a 4CPU v490 with 16GB? I think it is a 2CPU system, looking for confirmation. $ prtdiag System Configuration: Sun Microsystems sun4u Sun Fire V490 System clock frequency: 150 MHz Memory size: 16384 Megabytes ... (1 Reply)
Discussion started by: config_boy
1 Replies

7. UNIX for Advanced & Expert Users

cpus for especific users

hi, how can asignate in a multicore processor a number of core for especific users ? many thanks. (3 Replies)
Discussion started by: pixelmuerto
3 Replies

8. UNIX and Linux Applications

Looking to reduce the number a cpus available for SGE

Hey all Im looking to reduce the number of cpus available on a certain node in our cluster available for jobs using SGE. i.e. we have one node that has 24 cpus available for jobs on SGE, i would like to reduce that to 16. Thanks (1 Reply)
Discussion started by: olifu02
1 Replies

9. AIX

Calculate needed CPUs

Hello If a process on a AIX system uses 0.3 CPU's, how many cpu's are needed for 100 Systems? Regards, Patrick (3 Replies)
Discussion started by: PatMis81
3 Replies

10. Solaris

Calculating number of CPUs in Solaris-8

Hello, I have few old V210/V240, running Solaris-8. I am trying to find, number of physical CPUs, number of cores and number of virtual processors. psrinfo is giving me confusing status. It looks like, there are 2 physical CPUs, but psrinfo -p shows me just 1 bash-2.03$ psrinfo -v Status of... (4 Replies)
Discussion started by: ron323232
4 Replies
MPSTAT(1)							Linux User's Manual							 MPSTAT(1)

NAME
mpstat - Report processors related statistics. SYNOPSIS
mpstat [ -A ] [ -I { SUM | CPU | SCPU | ALL } ] [ -u ] [ -P { cpu [,...] | ON | ALL } ] [ -V ] [ interval [ count ] ] DESCRIPTION
The mpstat command writes to standard output activities for each available processor, processor 0 being the first one. Global average activities among all processors are also reported. The mpstat command can be used both on SMP and UP machines, but in the latter, only global average activities will be printed. If no activity has been selected, then the default report is the CPU utilization report. The interval parameter specifies the amount of time in seconds between each report. A value of 0 (or no parameters at all) indicates that processors statistics are to be reported for the time since system startup (boot). The count parameter can be specified in conjunction with the interval parameter if this one is not set to zero. The value of count determines the number of reports generated at interval sec- onds apart. If the interval parameter is specified without the count parameter, the mpstat command generates reports continuously. OPTIONS
-A This option is equivalent to specifying -I ALL -u -P ALL -I { SUM | CPU | SCPU | ALL } Report interrupts statistics. With the SUM keyword, the mpstat command reports the total number of interrupts per processor. The following values are displayed: CPU Processor number. The keyword all indicates that statistics are calculated as averages among all processors. intr/s Show the total number of interrupts received per second by the CPU or CPUs. With the CPU keyword, the number of each individual interrupt received per second by the CPU or CPUs is displayed. With the SCPU keyword, the number of each individual software interrupt received per second by the CPU or CPUs is displayed. This option works only with kernels 2.6.31 and later. The ALL keyword is equivalent to specifying all the keywords above and therefore all the interrupts statistics are displayed. -P { cpu [,...] | ON | ALL } Indicate the processor number for which statistics are to be reported. cpu is the processor number. Note that processor 0 is the first processor. The ON keyword indicates that statistics are to be reported for every online processor, whereas the ALL keyword indicates that statistics are to be reported for all processors. -u Report CPU utilization. The following values are displayed: CPU Processor number. The keyword all indicates that statistics are calculated as averages among all processors. %usr Show the percentage of CPU utilization that occurred while executing at the user level (application). %nice Show the percentage of CPU utilization that occurred while executing at the user level with nice priority. %sys Show the percentage of CPU utilization that occurred while executing at the system level (kernel). Note that this does not include time spent servicing hardware and software interrupts. %iowait Show the percentage of time that the CPU or CPUs were idle during which the system had an outstanding disk I/O request. %irq Show the percentage of time spent by the CPU or CPUs to service hardware interrupts. %soft Show the percentage of time spent by the CPU or CPUs to service software interrupts. %steal Show the percentage of time spent in involuntary wait by the virtual CPU or CPUs while the hypervisor was servicing another virtual processor. %guest Show the percentage of time spent by the CPU or CPUs to run a virtual processor. %idle Show the percentage of time that the CPU or CPUs were idle and the system did not have an outstanding disk I/O request. Note: On SMP machines a processor that does not have any activity at all is a disabled (offline) processor. -V Print version number then exit. ENVIRONMENT
The mpstat command takes into account the following environment variable: S_TIME_FORMAT If this variable exists and its value is ISO then the current locale will be ignored when printing the date in the report header. The mpstat command will use the ISO 8601 format (YYYY-MM-DD) instead. EXAMPLES
mpstat 2 5 Display five reports of global statistics among all processors at two second intervals. mpstat -P ALL 2 5 Display five reports of statistics for all processors at two second intervals. BUGS
/proc filesystem must be mounted for the mpstat command to work. Only a few activities are given by the Linux kernel for each processor. FILES
/proc contains various files with system statistics. AUTHOR
Sebastien Godard (sysstat <at> orange.fr) SEE ALSO
sar(1), pidstat(1), iostat(1), vmstat(8) http://pagesperso-orange.fr/sebastien.godard/ Linux AUGUST 2011 MPSTAT(1)
All times are GMT -4. The time now is 10:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy