How to solve the problem that the linux process cannot be killed?
How to solve the problem that the linux process can not be killed? I believe that many inexperienced people are at a loss about this, so this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
In liunx, sometimes use the command ps-ef | grep process name to check the process pid number. When you kill a process, you can't kill it, because it is possible to kill the child process rather than the parent process, and the whole process tree is not dead. In response to this situation, I struggled to find an order to solve this problem.
The way to view the pid of the process tree is:
Ps-A | grep-I process name
Then the command to kill the process is:
Kill process pid number
Or use the command:
Kill-9 process pid number
Ps kills the process, the command that kills the process according to its name:
Pkill process name after reading the above, do you have the solution to the problem that linux process can not be killed? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!