List processes in a hierarchy
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