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 |
Which command would you use to create a file system on a new hard drive?
How do I list all processes in linux?
What is top command in linux?
How does case sensitivity affect the way you use commands?
Which is the required command for checking the file system?
What is the difference between clang and llvm?
what is the difference between RHEL4 & RHEL5?
Hi guys, I am working in MNC from 1 and half year as Software Engg but not in programming, its in Information Security. Now I am doing RHEL 5(Red Hat certification) to move into Linux Admin. Can anyone please give me the future scope of this field and please send me the interview questions or links to get the idea. Thanks, Sushant.
some one is asking my machine is slow what is your steps?
How do you rate yourself in unix(if 0 is novice and 10 is sys admin)?
What is build process?
You wish to print a file ‘draft’ with 60 lines to a page. What command would you use?