#What should I do if the Linux process cannot be killed?
In liunx, sometimes the command ps -ef|grep process name is used to check the process pid number. When killing the process, the process cannot be killed because the child process may be killed instead of the parent process. The entire The process tree is not dead. In response to this situation, I struggled to find an order to solve this problem.
The method to view the pid of the process tree is:
ps -A|grep -i 进程名
Then the command to kill the process is:
kill 进程pid号
or use the command:
kill -9 进程pid号
ps to kill Dead process, the command to kill the process according to the process name:
pkill 进程名
Recommended: "Linux Tutorial"
The above is the detailed content of What to do if the Linux process cannot be killed. For more information, please follow other related articles on the PHP Chinese website!