kill(1) DG/UX 4.30 kill(1)
NAME
kill - terminate a process
SYNOPSIS
kill [ -signo | -signame ] 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. If more than one
process is started in a pipeline, the number of the last
process in the pipeline is reported. Process numbers can
also be found by using ps(1). For more details about kill,
see kill(2).
The killed process must belong to the current user unless he
or she is the superuser.
If a signal number or name preceded by - is the first
argument, that signal is sent instead of the terminate
signal (see signal(2) or /usr/include/sys/signal.h). Signal
number 9 (as in kill -9 ...) is a sure kill. If process
number 0 is specified, all processes in the process group
are signaled.
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
$
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 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
Licensed material--property of copyright holder(s) Page 1
kill(1) DG/UX 4.30 kill(1)
DG/UX System (Part 1)
Licensed material--property of copyright holder(s) Page 2