Thursday, April 19, 2007

ps command - Shows current status of processes

Linux

ps -p XXXX -o %cpu,pid,user,state,start,time,etime,%cpu,%mem,cmd

ps h -e -o %cpu,pid,user,state,start,time,etime,%cpu,%mem,cmd|sort -rn|more

AIX

ps augxww | head

Solaris

/usr/ucb/ps uaxw| more