Consultor Eletrônico



Kbase P121918: How to find out what processes are using the most CPU on AIX?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/06/2009
Status: Verified

GOAL:

How to find out what processes are using the most CPU on AIX?

GOAL:

What process(es) are using the most CPU on AIX?

GOAL:

What tools exist to help me identify the process(es) that are using the most CPU on AIX?

FACT(s) (Environment):

Progress/OpenEdge Product Family
IBM AIX POWER 5.3
IBM AIX 4.3.3
IBM AIX POWER 5.2

FIX:

On AIX, the topas tool can quickly list the top users of CPU on the system.
Topas can be used to see if disks, network or CPU are over utilized.

Syntax
topas [ -d number_of_monitored_hot_disks ] [ -h ] [ -i
monitoring_interval_in_seconds ] [ -n number_of_monitored_hot_network_interfaces
] [ -p number_of_monitored_hot_processes ] [ -w number_of_monitored_hot_WLM
classes ] [ -c number_of_monitored_hot_CPUs ][ -U username_owned_processes ] | [
-D | -L |-P | -W ] [ -m]

Example of screen output:
Topas Monitor for host: <hostname> EVENTS/QUEUES FILE/TTY
Tue Jan 30 10:45:33 2007 Interval: 2 Cswitch 0 Readch 0
Syscall 0 Writech 0
Kernel 0.4 |# | Reads 0 Rawin 0
User 0.0 | | Writes 0 Ttyout 0
Wait 0.0 | | Forks 0 Igets 0
Idle 99.6 |#################.###########| Execs 0 Namei 35
Runqueue 0.0 Dirblk 0
Network KBPS I-Pack O-Pack KB-In KB-Out Waitqueue 0.0
en0 12.9 113.0 5.0 24.6 1.2
lo0 1.6 32.0 32.0 1.6 1.6 PAGING MEMORY
Faults 61 Real,MB 8191
Disk Busy% KBPS TPS KB-Read KB-Writ Steals 0 % Comp 17.3
hdisk0 0.0 0.0 0.0 0.0 0.0 PgspIn 0 % Noncomp 3.6
hdisk1 0.0 0.0 0.0 0.0 0.0 PgspOut 0 % Client 0.5
hdisk2 0.0 0.0 0.0 0.0 0.0 PageIn 1
cd0 0.0 0.0 0.0 0.0 0.0 &nbsp.; PageOut 0 PAGING SPACE
Sios 0 Size,MB 512
Name PID CPU% PgSp Owner % Used 2.7
topas 659470 0.4 1.3 root NFS (calls/sec) % Free 97.2
syncd 81996 0.0 0.7 root ServerV2 0
errdemon 69816 0.0 141.5 root ClientV2 0 Press:
aump 122882 0.0 0.2 root ServerV3 0 "h" for help
automount 225392 0.0 1.3 root ClientV3 0 "q" to quit
gil 49176 0.0 0.1 root
portmap 65720 0.0 0.6 root
java &n.bsp; 368704 0.0 65.3 statqa
_mprosrv 266330 0.0 1.0 root
_mprosrv 430170 0.0 1.0 root
_mprosrv 307248 0.0 1.0 root
_mprosrv 311438 0.0 1.0 root.