Top 10 Memory Consumers in AIX

1) Displaying top CPU_consuming processes:

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

2) Displaying top 10 memory-consuming processes:

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

3) Displaying process in order of being penalized:

ps -eakl | head -1; ps -eakl | sort -rn +5
 

4) Displaying process in order of priority:

ps -eakl | sort -n +6 | head
 

5) Displaying process in order of nice value

ps -eakl | sort -n +7
 

6) Displaying the process in order of time

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

7) Displaying the process in order of real memory use

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

8) Displaying the process in order of I/O

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

9) Displaying WLM classes

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

10) Determinimg process ID of wait processes:

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

11) Wait process bound to CPU

ps -mo THREAD -p <PID>

Advertisements
Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: