I want to kill zombie process, but with using kill 9 i
cannot kill that process? can u tell other commands?
Answers were Sorted based on User's Feedback
Answer / kapil agrawal
I don't believe you can kill zombie process with `kill -9
<pid>`. Zombie process are considered dead. And, you will
have to kill the parent process of the zombie process to
kill the zombie.
use ps -ef| grep "Z" command and ppid of Z process
| Is This Answer Correct ? | 7 Yes | 2 No |
Zombie :
This is the dead process. We can not kill this directly this
process. Since zombie is the child process created by some
parent process.
so sometimes parent process will leave it for future
process. So need to send SIGCHILD signal to parent process
to kill zombie.
command:
" kill -s SIGCHLD <ppid> " ; ppid --> parent process id.
From this way we can kill zombie processes.
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / ritesh paul
we can use pstree -paul to find the parent process id
and then kill it by killall and the process id of the parent process.
we can also grep pstree -paul with the child zombie process , it will directly show us the parent process
| Is This Answer Correct ? | 0 Yes | 0 No |
How can you copy lines into the buffer in command mode?
What are two functions the move mv command can carry out?
script is like x=10; y=20; [$x-ne$y]; echo $ please give me output.
How do you execute more than one command or program from a single command line entry?
How can I only see the last 5 lines of a file?
What does f mean linux?
What is du command in linux?
What is mkdir m in linux?
How do I navigate in cmd?
Who am I command in linux?
Explain about chmod options filename?
how to see the system configuration in your linux system?