English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The Linux skill command sends a signal to the running program, the default message is TERM (interrupt), and the commonly used messages are HUP, INT, KILL, STOP, CONT, and 0.
Messages have three writing styles:分别为 -9,-SIGKILL,-KILL, can be used -l Or -L The available messages have been listed.
Permission: All users.
Other related commands: kill
skill [signal to send] [options] Select the rule of the program
General Parameters:
Parameters:The selection rules for the program can be: terminal code, user name, program code, command name.
The following lists known signal names, signal codes, and functions.
Name (Code) | Function/Description |
---|---|
ALRM 14 | Exit |
HUP 1 | Exit |
INT 2 | Exit |
KILL 9 | Exit/Forceful Shutdown |
PIPE 13 | Exit |
POLL | Exit |
PROF | Exit |
TERM 15 | Exit |
USR1 | Exit |
USR2 | Exit |
VTALRM | Exit |
STKFLT | Exit/Only applicable to i386、m68k, arm and ppc hardware |
UNUSED | Exit/Only applicable 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/Forceful Shutdown |
CONT | Restart/Restart if in stop state, otherwise ignore |
PWR | Ignore/May exit in some systems |
WINCH | 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 have been implemented yet |
EMT | Core/May not have been implemented yet |
BUS | Core/Core Failure |
XCPU | Core/Core Failure |
XFSZ | Core/Core Failure |
Stop all programs on PTY devices
skill -KILL -v pts/*
Stop three users user1、user2、user3
skill -STOP user1 user2 user3