Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem that the linux process cannot be killed?

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report