Posts Tagged ‘How to kill zombie process’

Execute following command on shell

# ps aux | awk ‘{ print $8 ” ” $2 }’ | grep -w Z    or ps aux | awk ‘$8==”Z” { print $2 }’

Output is :
Z 1926
Z 4858
Z 3726

To kill a zombie
# kill -91926 4858 3726