kill(1) DG/UX R4.11MU05 kill(1)
NAME
kill - terminate a process by default
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(5)]. The symbolic signal
name is the name as it appears in /usr/include/sys/signal.h, with the
SIG prefix stripped off. SIGTERM is sent by default; this will
normally kill processes that do not catch or ignore the signal.
pid and pgid 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. Note
that pgid is preceeded by a - to indicate that it is a process group
ID and not a process ID.
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).
When invoked with the -l option, kill will print a list of symbolic
signal names. 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.
The signalled process must belong to the current user unless the user
has appropriate privilege. On a generic DG/UX system, appropriate
privilege is granted by having an effective UID of 0 (root). See the
appropriateprivilege(5) man page for more information.
On a system with DG/UX information security, appropriate privilege is
granted by having one or more specific capabilities enabled in the
effective capability set of the user. See the capdefaults(5) man
page for more information.
SEE ALSO
ps(1), sh(1), kill(2), signal(2), signal(5),
appropriateprivilege(5).
Licensed material--property of copyright holder(s)