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

How lilo is useful in linux?

0 Answers  


How compile c++ program in cmd?

0 Answers  


What is the role of case sensitivity in affecting the way commands are used?

0 Answers  


How find ip address linux?

0 Answers  


How do I check my disk space?

0 Answers  






When is it better to use the more command rather than cat command?

3 Answers  


What does chmod 644 do?

0 Answers  


How to add Crete a new ftp user? or How to add a exiting user into FTP ?

1 Answers   Mind Tree,


what is work of dns

3 Answers   HCL,


what is the command to view gateway?

5 Answers  


Working in Linux/Unix platform, if any command dose not work, say # ls reports as command not found. what to do?

5 Answers  


In order to display the last five commands you have entered using the fc command, you would type?

0 Answers  


Categories