search

Custom Search
Affichage des articles dont le libellé est zombie. Afficher tous les articles
Affichage des articles dont le libellé est zombie. Afficher tous les articles

dimanche 11 novembre 2012

How to kill zombie process on Solaris




Ex :

$ ps -edf | grep defunct


root     7542  7541   0        - ?           0:00 <defunct>
root     7450  7449   0        - ?           0:00 <defunct>
root     7546  7545   0        - ?           0:00 <defunct>
root     7544  7543   0        - ?           0:00 <defunct>



$ ps -ecl | grep Z

F S    UID   PID  PPID  CLS PRI     ADDR     SZ    WCHAN TTY         TIME CMD
0 Z  59002  7450  7449    -   0        -      0        - ?           0:00 <defunct>


$ preap 7450
7450: exited with status 0


$ preap 7542
7542: exited with status 0


$ preap 7544
7544: exited with status 0


$ preap 7546
7546: exited with status 0


$ ps -edf | grep defunct
$


BING !




No more zombie here ^^