In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the use of linux killall command to use the process name to kill a group of processes, the article is very detailed, has a certain reference value, interested friends must read it!
The killall command uses the name of the process to kill the process, and you can use this instruction to kill a group of processes with the same name. 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 and grep to find the process before, and killall combines the two processes into one, which is a very useful command.
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 and grep to find the process before, and killall combines the two processes into one, which is a very useful command.
Syntax format: killall [parameters]
Common parameters:
-e exactly match the long name-l print a list of all known signals-p kill the process group to which the process belongs-I interactively kill the process, confirm before killing the process-r use regular expressions to match the name of the process to kill-s use the specified process number instead of the default signal "SIGTERM"-u to kill the specified user's process
Reference example
Kill all processes in httpd:
[root@linuxcool] # killall-9 httpd
Use the-l parameter to print a list of all known signals:
[root@linuxcool ~] # killall-l above is to use the killall command of linux to kill all the contents of a group of processes using the process name. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.