Process - classer par conso mémoire - AIX
Aller à la navigation
Aller à la recherche
ps -edf -o uid,pid,ppid,rssize,args | awk 'NR == 1; NR > 1 {print $0 | "sort -rn -k4"}'
Exemple :
ps -edf -o uid,pid,ppid,rssize,args | awk 'NR == 1; NR > 1 {print $0 | "sort -rn -k4"}' UID PID PPID RSS COMMAND 312019 23658638 1 96384 /usr/java6/bin/java -Xmx16m -cp .:wasagent-r170.jar:lib/com.ibm.ws.admin.client_7.0.0.jar:lib/jetty-servlet-7.6.2.v20120308.jar:lib/servlet-api-2.5.jar net.wait4it.wasagent.WasAgent 9070 0 27983916 27263044 27080 /apps/ilmt/LMT/tlmagent.bin 0 23199948 10158128 21040 java -jar slave.jar 0 7340034 1 18292 dsmc schedule 0 10748054 1 17980 /apps/unicenter/DSM/r11/caf/bin/caf service 1001 16777284 12779660 13148 /apps/IBMHTTPServer/WebServer7/bin/httpd -d /apps/IBMHTTPServer/WebServer7 -f /apps/IBMHTTPServer/WebServer7/sbx3_ihs/conf/httpd.conf -k start 0 8978466 1 12864 /apps/unicenter/DSM/r11/Agent/CCSM/bin/ccsmagtd 0 5046426 3539120 12624 /usr/sbin/automountd 1001 26476672 26345502 12288 /apps/IBMHTTPServer/WebServer7/bin/httpd -d /apps/IBMHTTPServer/WebServer7 -f /apps/IBMHTTPServer/WebServer7/sbx4_ihs/conf/httpd.conf -k start 1001 19267734 12779660 11972 /apps/IBMHTTPServer/WebServer7/bin/httpd -d /apps/IBMHTTPServer/WebServer7 -f /apps/IBMHTTPServer/WebServer7/sbx3_ihs/conf/httpd.conf -k start 1001 8323208 26345502 11660 /apps/IBMHTTPServer/WebServer7/bin/httpd -d /apps/IBMHTTPServer/WebServer7 -f /apps/IBMHTTPServer/WebServer7/sbx4_ihs/conf/httpd.conf -k start 204 33685738 15204466 10424 /usr/mqm/bin/amqrmppa -m FRSBP03D [...] 0 22675490 7864542 136 sleep 300 0 4456584 3539120 136 /usr/sbin/biod 6 22020144 23593092 <defunct> 8454210 23593092 <defunct>