In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Today, the editor shares with you how to use linux's kill command to kill the process. I believe many people do not know much about it. In order to make you understand better, I have summarized the following contents for you. Let's look down together. I'm sure you'll get something.
Kill, as the word means, means to kill. The kill command in a linux system is used to delete a program or work in progress.
The kill command sends a specified signal to the appropriate process or work. The kill command uses a signal of 15 by default, which is used to end a process or work. If the process or work ignores this signal, you can use signal 9 to force the process or job to be killed.
Syntax format: kill [parameters] [process number]
Common parameters:
-l lists the signals supported by the system-s specifies the signal sent to the process-a does not restrict the correspondence between the command name and the process number when processing the current process-p specifies that the kill command only prints the process number of the relevant process and does not send any signal
Reference example
List the signals supported by the system:
[root@linuxcool ~] # kill-l
Find the process and kill it with kill:
[root@linuxcool ~] # ps
PID TTY TIME CMD
1951 pts/0 00:00:00 bash
2446 pts/0 00:00:00 ps
Check that the process ID of bash is 1951, and then enter:
[root@linuxcool] # kill-9 1951
On how to use linux's kill command to kill the process is shared here, I hope that the above content can have a certain reference value, you can learn to apply. If you like this article, you might as well share it for more people to see.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.