ps -f(SVR4), or ps -ux(4.3 BSD) list processes with their i.d. numbers (under PID), % of CPU and memory used, status ( Running, Stopped briefly, Idly Waiting), time started, and amount of time spent on the process, and the command issued. The syntax you should use depends on which UNIX system you are using. (You can type man ps for more information).
ps -aux lists all processes on the computer. Note: you can only kill your own processes.
To kill an idle process, type kill -9 PID# .