Well, it depends a lot on what you are running...
On a HP server, using UNIX95 compliance, you would type to get the 5 most CPU consumer process type something like:
Code:
ant:/home/vbe $ UNIX95= ps -eo pcpu,pid,user,args | sort -r | head -5
15.95 12661 vbe /opt/firefox/firefox-bin
5.26 12694 vbe /opt/Adobe/Acrobat7.0/Reader/hppahpux/bin/acroread --display 16
1.24 2772 patrol PatrolAgent
1.10 2508 root /opt/APPQcime/jre/bin/PA_RISC2.0/java -Djava.library.path=../li
0.98 17873 root /opt/perf/bin/midaemon