User Tools

Site Tools


aix:aix_perf_base_cmd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
aix:aix_perf_base_cmd [2022/11/08 11:57]
manu [ps command]
aix:aix_perf_base_cmd [2023/07/21 14:05] (current)
manu
Line 79: Line 79:
     root 15335842 15532456 ​  0 10:​08:​48 ​ pts/0  0:00                     ​\---ksh93     root 15335842 15532456 ​  0 10:​08:​48 ​ pts/0  0:00                     ​\---ksh93
 </​cli>​ </​cli>​
 +
 +
 +
 +Displaying top CPU_consuming processes:
 +<cli prompt='#'>​
 +# ps aux | head -1; ps aux | sort -rn +2
 +</​cli>​
 +
 +Displaying top memory-consuming processes:
 +<cli prompt='#'>​
 +# ps aux | head -1; ps aux | sort -rn +3 | head
 +</​cli>​
 +
 +Displaying process in order of priority:
 +<cli prompt='#'>​
 +# ps -eakl | sort -n +6 | head
 +</​cli>​
 +
 +Displaying the process in order of time:
 +<cli prompt='#'>​
 +# ps vx | head -1;ps vx | grep -v PID | sort -rn +3
 +</​cli>​
 +
 +Displaying the process in order of real memory use:
 +<cli prompt='#'>​
 +# ps vx | head -1; ps vx | grep -v PID | sort -rn +6
 +</​cli>​
 +
 +7. Displaying the process in order of I/O:
 +<cli prompt='#'>​
 +# ps vx | head -1; ps vx | grep -v PID | sort -rn +4
 +</​cli>​
 +
 ===== svmon command ===== ===== svmon command =====
 +
 +Command to display top ten processes and users:
 +<cli prompt='#'>​
 +# svmon -P -v -t 10 | more
 +</​cli>​
  
 Statistics about memory; virtual and real Statistics about memory; virtual and real
aix/aix_perf_base_cmd.1667905031.txt.gz ยท Last modified: 2022/11/08 11:57 by manu