05-23-2006
I wouldn't use ps to monitor cpu performance like that. Try other commands like vmstat. This link should be helpful.
http://publib.boulder.ibm.com/infoce...v5r3/index.jsp
Stupid IBM website - the link just goes to the main page instead of the page I was looking at when I pasted the link in.
Once you're there on the left panel click on Performance Management and Tuning, then the first book "Performance Management Guide". There is a whole chapter on CPU performance monitoring.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have been asked to look at an AIX box that the owner (not a technical person) installed a new SCSI disk into, but cannot figure out how to build volumes or file systems on. It has been years since I messed with AIX, and I remember enough to know that it isn't like Solaris.
To make things... (1 Reply)
Discussion started by: 98_1LE
1 Replies
2. IP Networking
Hi,
I was wondering if any body out there can tell me how can I find out what is the name of the mail host on the AIX box that I am working on?
Is there any command to bring up the configuration for the mail server or mail host?
Thanks in advance. (4 Replies)
Discussion started by: Shaz
4 Replies
3. AIX
i want to move my AIX os ver 4.2.1 to a new version IBM system. how can i acheive this. (1 Reply)
Discussion started by: gmonix
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I need a clarification.
Is there any difference between AIX box and Sun Solaris box?
The bzip command with -c option works in AIX box and the same does not work in Sun Solaris box.
Can anyone please explain if there is an implementation difference in both these boxes for the shell... (1 Reply)
Discussion started by: nisha4680
1 Replies
5. AIX
Quick backgound. We just moved the Datacenter. I attempted to boot one of our older AIX machines backup and it stops at a 518 Error code. Which is fine I need to run fsck on the volumes. The issue is I can't find the original media with the appropriate Date that was originally installed(previous... (1 Reply)
Discussion started by: jcompguru
1 Replies
6. AIX
Hi
When I run cfgmgr -v in my aix box I get the below error :
cfgmgr: 0514-621 WARNING: The following device packages are required for
device support but are not currently installed.
devices.loopback
My oslevel is 6100-06-02-1044
Please assist.
Please use and tags when... (3 Replies)
Discussion started by: samsungsamsung
3 Replies
7. AIX
I have login into a server, and when i launch this command uname -L.
I can see there is a LPAR.
But is there anymore commands i can use to get more information on the LPAR ?
like it is VIO ?
wat the IP address ?
etc, etc.
please help. Thank you. (7 Replies)
Discussion started by: wingcross
7 Replies
8. Cybersecurity
Guys, i want to securing AIX after install by scrath. Is anybody can inform about the standard port which used by AIX? (0 Replies)
Discussion started by: michlix
0 Replies
9. AIX
Hi guys...
I have got a old Aix box i.e. 7043 - 150 for home experimenting purposes. I am having some issues to setup the tcpip on it correctly, so that i can access it within the network and also from outside i.e. work.
My setup looks like this:
Modem ----> Apple airport wireless router... (2 Replies)
Discussion started by: uzair_rock
2 Replies
10. What is on Your Mind?
where I'm working does not have any AIX box/servers for testing eventhough we're not heavily invested on UNIX. It is just sometimes there are a few client's servers that need AIX related stuff to be done.
last time I checked, I could find old AIX tower on ebay but there's no more.
p/s: on job... (4 Replies)
Discussion started by: malayo
4 Replies
LEARN ABOUT REDHAT
mpstat
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)