msgbartop
A chronological documentation test project, nothing serious, really!
msgbarbottom

09 Jun 2007 List processes in a hierarchy

Posted by

ps -e -o pid,args --forest

List processes by % cpu usage

ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d'

List processes by mem usage

ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS

List info for particular process IDs

ps -p 1,2

Tags: , ,

Comments are closed.