kill -s signal_name pid
...
kill -l [exit_status]
kill [-signal_name] pid ...
kill [-signal_number] pid ...
The kill utility shall send a signal to the process or processes specified by each pid operand.
For each pid operand, the kill utility shall perform actions equivalent to the kill() function defined in the System Interfaces volume of IEEE Std 1003.1-2001 called with the following arguments:
The value of the pid operand shall be used as the pid argument.
The sig argument is the value specified by the -s option, - signal_number option, or the - signal_name option, or by SIGTERM, if none of these options is specified.
The kill utility shall conform to the Base Definitions volume of IEEE Std 1003.1-2001, Section 12.2, Utility Syntax Guidelines, except that in the last two SYNOPSIS forms, the - signal_number and - signal_name options are usually more than a single character.
The following options shall be supported:
Specify the signal to send, using one of the symbolic names defined in the <signal.h> header. Values of signal_name shall be recognized in a case-independent fashion, without the SIG prefix. In addition, the symbolic name 0 shall be recognized, representing the signal value zero. The corresponding signal shall be sent instead of SIGTERM.
Equivalent to -s signal_name.
Specify a non-negative decimal integer, signal_number, representing the signal to be used instead of SIGTERM, as the sig argument in the effective call to kill(). The correspondence between integer values and the sig value used is shown in the following table.
The effects of specifying any signal_number other than those listed in the table are undefined.
If the first argument is a negative integer, it shall be interpreted |
as a - signal_number option, not as a |
negative pid operand specifying a process group. |
The following operands shall be supported: |
A decimal integer specifying a process or process group to be signaled. |
The process or processes selected by positive, negative, |
and zero values of the pid operand shall be as described for |