kill(1)
NAME
kill − terminate a process
SYNOPSIS
kill [ -signal ] pid...
kill -signal -pgid...
kill -l
DESCRIPTION
kill sends a signal to the specified processes. The value of signal may be numeric or symbolic [see signal(2)]. The symbolic signal name is the name as it appears in /usr/include/sys/signal.h, with the SIG prefix stripped off. Signal 15 (SIGTERM) is sent by default; this will normally kill processes that do not catch or ignore the signal.
When invoked with the -l option, kill will print a list of symbolic signal names.
pid and pgid are unsigned numeric strings that identify which process(es) should receive the signal. If pid is used, the process with process ID pid is selected. If pgid is used, all processes with process group ID pgid are selected.
The process number of each asynchronous process started with & is reported by the shell (unless more than one process is started in a pipeline, in which case the number of the last process in the pipeline is reported). Process numbers can also be found by using ps(1).
The details of the kill are described in kill(2). For example, if process number 0 is specified, all processes in the process group are signaled. Furthermore, “kill −9 ...” is a sure kill.
The signalled process must belong to the current user unless the user is the super-user.
SECURITY FEATURES
The following security features are in effect on systems running CX/SX configured to B1 security.
The standard command allows signals to be passed between processes without regard to their security level. However, information can be encoded in a signal or group of signals so that classified information can be passed to an unclassified process. For this reason, a mandatory security policy is applied to signals. This policy allows signals to pass between processes with the same security level. If security levels are different, a signal is not sent and an error code is returned.
SEE ALSO
ps(1), sh(1).
kill(2), signal(2) in the CX/UX Programmer’s Reference Manual.
CX/UX User’s Reference Manual