Comment tuer les zombie processus

J'ai lancé mon programme en avant-plan (un programme démon), et puis je l'ai tué avec kill -9, mais je reçois un zombie en restant et je ne suis pas en mesure de le tuer avec kill -9. Comment tuer un zombie processus?

Si le zombie est un mort de processus (déjà tué), comment je le supprime de la sortie de ps aux?

root@OpenWrt:~# anyprogramd &
root@OpenWrt:~# ps aux | grep anyprogram
 1163 root      2552 S    anyprogramd
 1167 root      2552 S    anyprogramd
 1169 root      2552 S    anyprogramd
 1170 root      2552 S    anyprogramd
10101 root       944 S    grep anyprogram
root@OpenWrt:~# pidof anyprogramd
1170 1169 1167 1163
root@OpenWrt:~# kill -9 1170 1169 1167 1163
root@OpenWrt:~# ps aux |grep anyprogram
 1163 root         0 Z    [cwmpd]
root@OpenWrt:~# kill -9 1163
root@OpenWrt:~# ps aux |grep anyprogram
 1163 root         0 Z    [cwmpd]
  • Ce n' ps -o ppid 1163 dire? Qui est, qui est 1163 parent? C'est le processus qui doit être terminé.
InformationsquelleAutor MOHAMED | 2013-06-05