November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

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>