How to find zombie process
How to find a zombie process and then the parent process of that zombie process, so that we can kill it
|
Hey guy,
I wrote your question in google "How to find zombie process" and opened the first link. You will find all the answers also... |
Hi,
Quote:
Most (if not all) of the time a zombie process has lost its "real" parent and is given to/handled by init (process no 1 or 0). Have a look here: Zombie process Hope this helps. |
Quote:
Please read the message fully first. |
I can get the zombie process id by
ps aux and then looking for z in STAT column. Now how do I get the parent process id corresponding to that id. |
Zombie is a child process that is lingering without its parent. As said you would not be able to find its parent as its already dead.
|
Quote:
For reference. http://www.linuxquestions.org/questi...rocess-794531/ |
Sorry I went the other way. But as mentioned, kill command does not have effect on zombie as on normal process.
|
Hi,
Quote:
|
Ok lets take this in more simple way.
How can I get the "ppid" of ANY "pid". I am fetching the "pid" from "ps aux" and NOT "ps ef" |
Hi,
Quote:
Code:
ps axo pid,ppid,stat,comm Column 2 -> PPID Column 3 -> State Column 4 -> Command Hope this helps. |
This helped me. Thanks druuna
|
You're welcome :)
|
All times are GMT -5. The time now is 11:56 AM. |