Preface recently, due to studying java, many labels will be opened in chrome, and some extensions will be used to remind you of some emails and other things. The results will often get inexplicably stuck to my desktop program, the reason is that the Zombie process is generated. I will not talk about the cause of Zombie here. I just want to briefly talk about how to find the Zombie process in Ubuntu. First, when the desktop program is stuck, you can try to access other tty terminals. Switch Mode: ctrl + alt preface recently, due to learning java, many labels will be opened in chrome, and some extensions will be pushed to remind you of some emails and other things, the result is often inexplicably stuck to my desktop program. The reason is that the Zombie process is generated. Here we will not talk about the cause of Zombie, let's just briefly talk about how to deal with the Zombie process in Ubuntu. First, when the desktop program gets stuck, you can try to access other tty terminals. Switch Mode: ctrl + alt + [1, 2, 3, 4, 5, 6, 7], 7 is the second place for desktop terminals, you can run the top command to check whether there are any Zombie processes. You can see the number of zombie processes, num Zombie, and num greater than 0, which indicates that the system has a zombie process, use the ps command to find the Zombie process ps-A-ostat, ppid, pid, cmd | grep-e '^ [zZ]'. Example:
For specific parameter explanations, you can use man to learn to kill the Zombie process and kill-9 Zombiepid. The reason is: Zombie indicates that the process has exited and you want to clear it, you need to clear the parent process or wait for a long time before the kernel clears it, however, Ubuntu12.04 desktop display manager is LightDM, so kill-HUP can at least be used to log out. You do not need to restart it.
Reading:
Linux zombie process http://www.linuxidc.com/Linux/2013-06/86128.htm
Http://www.linuxidc.com/Linux/2012-08/67219.htm of botnet processing in Linux
Linux bot runs faster than Windows http://www.linuxidc.com/Linux/2012-08/67148.htm
Linux getting started knowledge: Killing zombie process http://www.linuxidc.com/Linux/2011-08/40879.htm
Linux zombie process detailed analysis and ps common usage http://www.linuxidc.com/Linux/2011-11/48005.htm
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2