Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How can I see the processor usage in Unix?? Post 14105 by Erik Rooijmans on Monday 28th of January 2002 10:56:49 AM
Old 01-28-2002
How can I see the processor usage in Unix??

Could anybody tell me which command I should use to see
how many percentage or something from the processor is used by various programs?

Thanx in Advance!

ErikSmilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix & Processor compatibility

subject is self explanitory... can i install Unix on a system w/ and AMD processor (1 Reply)
Discussion started by: goliath3021
1 Replies

2. UNIX for Dummies Questions & Answers

UNIX and Processor

What kind of processors can Free BSD run on? (1 Reply)
Discussion started by: Heathbo
1 Replies

3. UNIX for Dummies Questions & Answers

how to get processor Id in UNIX

Hello readers how to get the processor id in UNIX environment? how to get the network card Id in UNIX ? (4 Replies)
Discussion started by: rajashekaran
4 Replies

4. UNIX for Dummies Questions & Answers

To find processor speed & memory in HP Unix 10.2

I have a D series HP server with HP UNIX 10.20 as the OS. How will I obtain the processor speed and memory of the machine. I have 'root' privileges. (4 Replies)
Discussion started by: augustinep
4 Replies

5. UNIX Desktop Questions & Answers

Where can I find a Unix OS that will run on a 386 processor?

Hey, can anyone recommend a URL (or website) where I can download a basic (or old) UNIX OS that will run on an ancient laptop that has a 386 processor, 4MB of RAM and a 40MB harddrive? Your help and suggestions are much appreciated! :confused: (4 Replies)
Discussion started by: methudrez
4 Replies

6. UNIX for Dummies Questions & Answers

installing unix on a amd athlon processor

I just need a simple answer on if installing unix on a pc using an AMD processor instead of Intel is going to be a problem. Thank you one and all. (3 Replies)
Discussion started by: frznmeatcicle
3 Replies

7. AIX

LPAR processor/virtual processor settings

Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities. Environment is a 8-way p570 with 4 LPARs. lparVIO1 and lparVIO2: AIX 5300-04-01 Mode/Type= Shared-SMT/Capped Minimum Processors= 0.10 Desired Processors= 0.50 Maximum... (1 Reply)
Discussion started by: guttew
1 Replies

8. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

9. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

10. SCO

Command to View Processor Usage

Hi everyone, i used to know the command to show current CPU usage but i cannot remember it. It was not "Top". Openserver 6. (4 Replies)
Discussion started by: Paulbas
4 Replies
MPSTAT(1)							Linux User's Manual							 MPSTAT(1)

NAME
mpstat - Report processors related statistics. SYNOPSIS
mpstat [ -P { cpu | 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. The interval parameter specifies the amount of time in seconds between each report. A value of 0 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 seconds apart. If the interval parameter is specified without the count parameter, the mpstat command generates reports continuously. REPORTS
The report generated by the mpstat command has the following format: CPU Processor number. The keyword all indicates that statistics are calculated as averages among all processors. %user 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. %system Show the percentage of CPU utilization that occurred while executing at the system level (kernel). %idle Show the percentage of time that the CPU or CPUs were idle. intr/s Show the total number of interrupts received per second by the CPU or CPUs. OPTIONS
-P cpu | 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 ALL keyword indicates that statistics are to be reported for all processors. -V Print version number and usage 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 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 supplied by the Linux kernel for each processor. FILES
/proc contains various files with system statistics. AUTHOR
Sebastien Godard <sebastien.godard@wanadoo.fr> SEE ALSO
sar(1), sadc(8), sa1(8), sa2(8), iostat(1), vmstat(8) http://perso.wanadoo.fr/sebastien.godard/ Linux MAY 2000 MPSTAT(1)
All times are GMT -4. The time now is 04:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy