Answer Posted / ashish
Zombie process are the ones for which its parent process
has lost track of.
You can view the zombie processes by using
ps -auwx | grep Z
And to kill them use
kill -9 pid
But normally this wont work. So we will first have to kill
its parent process. And to do this you can use
ps -l pid
to list the pid of the parent process(indicated by PPID)
and then use (kill -9 pid) to terminate it.
If in any case the parent process is the init(1) process
itself, then there is no other option than to reboot the
system.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How do I list all processes in linux?
What is $@ in shell?
What are runlevels in linux?
Is llvm a compiler?
In order to improve your system’s security you decide to implement shadow passwords. What command should you use?
What command would you use to check how much memory is being used by linux?
What does comm do and how to use it?
How do I clear terminal command history?
How do you create a file in linux?
Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?
What does in makefile do?
How can I create a file with cmd?
How compile c++ program in cmd?
What is mkdir p?
How do I permanently set ulimit in linux?