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



I want to kill zombie process, but with using kill 9 i cannot kill that process? can u tell other ..

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

I want to kill zombie process, but with using kill 9 i cannot kill that process? can u tell other ..

Answer / venkat

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

I want to kill zombie process, but with using kill 9 i cannot kill that process? can u tell other ..

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

Post New Answer

More Linux Commands Interview Questions

if i have one folder say aaa and that folder having 100 files from that 50 files there aaa word is written how to find in which aaa is writen and without opening that file

6 Answers  


How to check load balance using linux command?

1 Answers   Rakuten,


What command should you use to check your file system?

0 Answers  


What is grep command in linux with examples?

0 Answers  


What does free command do in linux?

0 Answers  






What commands are used to see all jobs running in the hadoop cluster and kill a job in linux?

0 Answers  


what is nis server?

4 Answers   IBM,


why do u want to join this company

6 Answers   HCL, Infosys, United Healthcare, Wipro,


Is cmake only for c++?

0 Answers  


What is simple command?

0 Answers  


Does linux cp command overwrite?

0 Answers  


i dont know root password then this situation can we change or break root password to ant process

5 Answers  


Categories