In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
The content of this article mainly focuses on what is the specific method of killing the process command in the Linux system. The content of the article is clear and clear. It is very suitable for beginners to learn and is worth reading. Interested friends can follow the editor to read together. I hope you can get something through this article!
How to end a process in a Linux system?
1. Grammar
Killall [options] name
2. List of options
Option description-e |-exact process needs to match the name exactly-I |-ignore-case ignores case-g |-process-group termination process group-I |-l |-list lists all signal names-Q |-quite process does not output any information when the process does not end.-r |-regexp interprets the process name pattern as an extended regular expression. -s |-signal sends the specified signal-u |-user ends the process of the specified user-v |-verbose shows the detailed execution process-w |-wait waits for all processes to end-V |-version displays version information-help displays help information 3, instance
End all processes
[root@localhost ~] # ps / / View the process There are three wc processes PID TTY TIME CMD 8266 pts/0 00:00:00 bash 9781 pts/0 00:00:00 wc 9784 pts/0 00:00:00 wc 9785 pts/0 00:00:00 wc 9786 pts/0 00:00:00 ps [root@localhost ~] # killall-9 wc / / end all wc processes [root@localhost ~] # ps / / View the process Wc were killed PID TTY TIME CMD 8266 pts/0 00:00:00 bash 9788 pts/0 00:00:00 ps [1] killed nice-n 19 wc [2]-killed nice-n 19 wc [3] + killed nice-n 19 wc what is Linux system Linux is a free use And free spread UNIX-like operating system Is a POSIX-based multi-user, multi-tasking, multi-threaded and multi-CPU operating system, using Linux to run major Unix tools, applications and network protocols.
Thank you for your reading. I believe you have a certain understanding of "what is the specific method of killing process commands in the Linux system?" go ahead and practice it. If you want to know more about it, you can follow the website! The editor will continue to bring you better articles!
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.