AIX performance tools

From Tecniq

Jump to: navigation, search

For graphical tools:

 http://www.ibm.com/developerworks/wikis/display/WikiPtype/Performance+Other+Tools

For those that favour command line tools: Displaying top CPU_consuming processes:

 ps aux | head -1; ps aux | sort -rn +2 | head -10

Displaying top 10 memory-consuming processes:

 ps aux | head -1; ps aux | sort -rn +3 | head

Displaying process in order of being penalized:

 ps -eakl | head -1; ps -eakl | sort -rn +5 !!!!!!!!!!!!!!!! option -k = processes in order !!!!!!!!!

Displaying process in order of priority:

 ps -eakl | sort -n +6 | head

Displaying process in order of nice value

 ps -eakl | sort -n +7

Displaying the process in order of time

 ps vx | head -1;ps vx | grep -v PID | sort -rn +3 | head -10

Displaying the process in order of real memory use

 ps vx | head -1; ps vx | grep -v PID | sort -rn +6 | head -10

Displaying the process in order of I/O

 ps vx | head -1; ps vx | grep -v PID | sort -rn +4 | head -10

Displaying WLM classes

 ps -a -o pid, user, class, pcpu, pmem, args

Determinimg process ID of wait processes:

 ps vg | head -1; ps vg | grep -w wait

Wait process bound to CPU

 ps -mo THREAD -p

Cpu usage with priority levels

 topas -P


Top ten memory consuming processes.

 svmon -Put 10


display the processes in priority order

 ps -eakl | sort -n +6 | head

display the processes in nice order

 ps -eakl | sort -n +7 


To display the top 10 CPU memory consuming processes

 ps aux | head -1 ; ps aux | sort -rn +2 | head -10

To display the top 10 memory consuming processes

 ps -Ao pcpu,pmem,vsz,comm,user | head -10
Personal tools