May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

How find/kill zombie processes

There are many ways to find out zombie processes , so this is one of examples.
# cat /etc/centos-release
CentOS release 6.2 (Final)

 

find zombie processes
# top -b -n 1 | grep Z
6072 root      20   0     0    0    0 Z  0.0  0.0   0:00.09 dumpcap <defunct>
6075 root      20   0     0    0    0 Z  0.0  0.0   0:00.11 dumpcap <defunct>

 

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

 

kill zombie processes
# kill -9 6072
# kill -9 6075

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>