Rechercher dans ce blog

dimanche 22 janvier 2023

kill a zombie linux

obtenir le pid 
ps aux | egrep "Z|defunct"

ensuite pour obtenir le parent
ps -o ppid= -p #pid 
 
vérifier si le pid parent existe
 ps -e |grep #pid
 
enfin 
sudo kill -SIGKILL #pid
 

Aucun commentaire:

Enregistrer un commentaire