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 signal is ctrl c?

0 Answers  


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

5 Answers  


What is the default number of shell commands saved in the history list of .cshrc file?

0 Answers  


Is a command a full sentence?

0 Answers  


What does chmod 777 do?

0 Answers  






Who unix commands?

0 Answers  


What is difference between free and available memory in linux?

0 Answers  


What is 9 in kill?

0 Answers  


You are required to restore the file memo.ben. It was backed up in the tar file MyBackup.tar. Which command would you use to do it?

0 Answers  


Which daemon is used for scheduling of the commands?

0 Answers  


can some one tell me the steps(with commands) to create LVM in RHEL 5????

5 Answers  


1.I want to change runlevel but the Users shall not be disturbed?how? 2.Disk have 5gb disk utilization even though files unable to create, why? 3.what are the internal and external command in linux? 4.sar command o/p? 5.how list the open files? 6.what is kernel compiling? 7.How do u See complete configuration in ur system? 8.how will u make a daily updates with cron daily? 9.which port is associated with ttys0? 10.specific some problems linux admin(if u are linux admin)faced and how did u overcome it?

10 Answers   IBM, TCS,


Categories