|kill(1)||terminate or signal a process|
|kill(2)||send signal to a process|
|KILL(1)||General Commands Manual||KILL(1)|
killutility sends a signal to the process(es) specified by the pid operand(s). If no signal is specified,
Only the superuser may send signals to other users' processes.
The options are as follows:
If no operand is given, display the names of all the signals.
The following PIDs have special meanings:
Some of the more commonly used signals:
For a more complete list, consult the sigaction(2) manual page.
A signal number of 0 (
kill -0 pid) checks
the validity of a certain PID, to see if it exists. An exit code of 0 means
that the specified process exists.
killutility exits 0 on success, and >0 if an error occurs.
$ kill -9 1234
# kill -HUP 1
killutility is compliant with the IEEE Std 1003.1-2008 (“POSIX.1”) specification.
-signal_number syntax is
marked by IEEE Std 1003.1-2008
(“POSIX.1”) as being an X/Open System Interfaces
killcommand appeared in Version 3 AT&T UNIX in section 8 of the manual.
|August 16, 2016||OpenBSD-current|