In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how to use the killall command in Linux, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand.
The Linux common command killall command uses the name of the process to kill the process, which can be used to kill a group of processes with the same name.
Killall uses the name of the process to kill a set of processes
Add that we can use the kill command to kill the process of the specified process PID, if we want to find the process we need to kill, we also need to use commands such as ps to cooperate with grep to find the process, and killall combines the two processes into one, which is a very useful command.
Syntax killall (option) (parameter) option-e: exact matching of long names;-l: ignore case differences;-p: kill the process group to which the process belongs;-I: interactively kill the process, you need to confirm before killing the process;-l: print a list of all known signals;-Q: if no process is killed. No information is output;-r: use regular expressions to match the name of the process to be killed;-s: replace the default signal "SIGTERM" with the specified process number;-u: kill the process of the specified user. Parameter process name: specifies the name of the process to kill.
Instance kills all processes with the same name
Killall vi thank you for reading this article carefully. I hope the article "how to use killall commands in Linux" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and follow the industry information channel. More related knowledge is waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.