How to solve the problem that linux cannot end the process?
How can linux not finish the process? I believe that many inexperienced people are helpless about this. For this reason, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
When killing a process, just kill it, and change a process id to continue running, try many methods to know that the process has a parent process, want to end it, you must first end its parent process.
The most common method is to use ps aux, then filter through the pipeline using grep to find specific processes, and then operate on specific processes. For example ps aux| grep nginx
termination process
Use the kill command kill xxx
Common use: kill -9 xx
There is also a killall command that uses the process name instead of the process ID number, such as killall -9 name
The Unkillable Process
Find the parent process first, end the parent process
ps -ef| grep process id (find parent process)
then
kill -9 parent process id (end parent process)
After reading all this, do you know how to fix linux's inability to terminate processes? If you still want to learn more skills or want to know more related content, welcome to pay attention to the industry information channel, thank you for reading!