One of the ubuntu server has 82 zombie processes. All processes shows '[sh] defunct' as process command. Is there a way to find out which process is becoming a zombie process?
I tried checking the /proc/PID/ directory to get some clue about zombie process but all files are empty. How to find who let this process as zombie.. . Is there any other way to find it out?
Updated/Solved: Made the question clearer, and Answered my own question as suggested by andcoz.
ps -xwill show a list of processes and their respective status (columnSTAT). Status Z means Zombie (and you should also see the string<defunct>in theCOMMANDcolumn). – Ansgar Esztermann Mar 7 '12 at 13:42answerand then accept your own answer. Do not put the answer in the question! – andcoz Mar 7 '12 at 18:02