In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces in detail "how to use the skill command of Linux". The content is detailed, the steps are clear, and the details are handled properly. I hope that this article "how to use the skill command of Linux" can help you solve your doubts.
Linux commonly used command skill command to send a signal to the executing program, the default message is TERM (interrupt), the more commonly used messages are HUP, INT, KILL, STOP, CONT and 0.
The syntax skill [signal to send] [options] selects the general parameters of the rules of the program:
-f Quick Mode / not yet completed
-I interaction mode / each action will be confirmed
-v output / list information about the selected procedure in detail
-w Smart warning message / not yet completed
-n No action / display program code
Parameters: the rules for selecting a program can be: terminal code, user name, program code, command name.
-t terminal code (tty or pty)
-u user name
-p program code (pid)
-signals that can be used by the command name
The known signal names, signal codes and functions are listed below.
Name (code) function / description ALRM 14 leaves HUP 1 leaves INT 2 leaves KILL 9 leaves / forcefully closes PIPE 13 leaves POLL leaves PROF leaves TERM 15 leaves USR1 leaves USR2 leaves VTALRM leaves STKFLT leaves / applies only to i386, m68k, arm and ppc hardware UNUSED departure / applies only to i386, m68k, Arm and ppc hardware TSTP stop / generate content-related behavior TTIN stop / generate content-related behavior TTOU stop / generate content-related behavior STOP stop / force shutdown CONT restart / restart if in the stopped state Otherwise ignore PWR ignore / leave WINCH in some systems ignore CHLD ignore ABRT 6 core FPE 8 core ILL 4 core QUIT 3 core SEGV 11 core TRAP 5 core SYS core / may not implement EMT core / core failure XCPU core / core failure XFSZ core / core failure instance stop all programs on PTY device
Skill-KILL-v pts/* stops three users user1, user2, user3
Skill-STOP user1 user2 user3 has read this article, "how to use the skill command of Linux" article has been introduced, want to master the knowledge of this article still need to practice and use to understand, if you want to know more related articles, 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.