List and Kill Zombie process


On Unix and Unix-like computer operating systems, a zombie process or defunct process is a process that has completed execution but still has an entry in the process table. This entry is still needed to allow the parent process to read its child’s exit status.

To list all Zombie process use following command:

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

Unlike normal processes, the kill command has no effect on a zombie process.

To remove all zombie processes from process table we need to reboot the server.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s