Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

How do I find out zombie process?

Answer

Use this command

# ps aux | awk '{ print $8 " " $2 }' | grep -w Z

It will give something like the following (The number is the zombie's pid)

Z 5938
Z 5485
...

Then we can kill it by using the pid

# kill -9 5938

  1. Find the process ID of a running program
  2. How to kill a running process by name?
  3. Find the number of running processes on your system
  4. Why sometimes kill does not work
  5. Wait for a process terminated

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>