Ubuntu – How to identify a zombie process

processubuntu-9.10

When login through a terminal into my Ubuntu 9.10 Server, I see the following message:

=> There is 1 zombie process.

How can I identify this zombie process?

Best Answer

Use the ps command. I almost always use ps auxwww.

$ ps auxwww
USER       PID %CPU %MEM      VSZ    RSS   TT  STAT STARTED      TIME COMMAND
exegete  22199   0.0  0.2    79204   3280 s000  Z     9:16AM   0:00.78 vi
exegete  22185   0.0  0.0    75968    968 s000  S     9:16AM   0:00.01 -bash

According to the docs, a "Z" in the STAT column indicates a zombie process. Check the man pages: man ps