when zombie process fully cleared?
Answers were Sorted based on User's Feedback
Answer / vimal kumar k,technomenace.com
When the server gets restarted!
| Is This Answer Correct ? | 9 Yes | 3 No |
Do a ps and identify the zombie processes
# ps -el | grep 'Z'
Occasionally, these processes are in such a state that the
only way to get rid of them is to reboot to clear them.
In most cases, you can get rid of a zombie by normal means,
"kill -15 zombie PPID", "kill -9 zombie PPID".
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / 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 |
How can I only see the last 5 lines of a file?
What command is used to check the number of files, disk space, and each user’s defined quota?
what is the difference between RHEL4 & RHEL5?
Working in Linux/Unix platform, if any command dose not work, say # ls reports as command not found. what to do?
hi friends how to reinstall the grub.conf file. once i delete the grub file in perminatle ofter how to get back that file. plz send me ans. regards. madhu.m
What is iptables command in linux?
what is lilo?How it is useful in linux?
How do I check memory usage on linux?
Why ms dos is used?
Which priority has the process?how do u view?
How to monitor ports in a linux machine, with single command?
Did you work with linux? What flavors and versions?