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

What is the difference between kill and kill -9 commands?

4 Answers   Sabre,


I want to built a fire wall using iptables. My condition is " inbound to 192.168.0.2 with a port of 80 from 172.168.0.1 should accept"

6 Answers   NetEnrich,


What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?

0 Answers   UGC Corporation,


How commands work in linux?

0 Answers  


What is the use of finger command in linux?

0 Answers  






How do I overclock my cpu?

0 Answers  


Explain the linux directory commands along with the description?

0 Answers  


What is the difference between locating and locate command?

0 Answers  


How do I check my cpu cores?

0 Answers  


I want to see how many interfaces(ethernet cards) are working using single command?

8 Answers  


what is soft mount and hard mount? i have to make permanent nfs mount permanent what shall i do?

4 Answers   IBM,


How can I only see the first 14 lines of a file?

5 Answers  


Categories