kill(1)
_________________________________________________________________
kill Command
terminate a process
_________________________________________________________________
SYNTAX
kill [ -signo ] PID ...
DESCRIPTION
Kill sends signal 15 (terminate) to the specified processes.
This will normally kill processes that do not catch or ignore the
signal. The shell reports the process number of each
asynchronous process started with &, unless more than one process
is started in a pipeline; then 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.
The killed process must belong to the current user unless he is
the superuser.
If a signal number preceded by - is given as first argument, that
signal is sent instead of terminate (see signal(2)). In
particular, "kill -9 ..." is a sure kill.
_________________________________________________________________
EXAMPLES
$ ps
PID TTY TIME COMMAND
976 12 0:14 sh
2620 12 0:02 sh
2740 12 0:00 ps
$ kill 2620
$ ps
PID TTY TIME COMMAND
976 12 0:14 sh
2873 12 0:00 ps
$
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
kill(1)
In this example, the ps command displays the status information
of the active processes started from the current terminal. The
kill command terminates process number 2620 as is shown by the
second ps command.
_________________________________________________________________
SEE ALSO
csh(1), ps(1), sh(1).
kill(2), signal(2) in the Programmer's Reference for the DG/UX
System
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)