X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/3d86f03a5ab0a89b7bb4fb013e8787d65f5ba140..5997b76f72b62a63768f2160a7612c98f2c0f3f0:/usr/src/bin/kill/kill.1 diff --git a/usr/src/bin/kill/kill.1 b/usr/src/bin/kill/kill.1 index c5bbccf63a..908a12d9d3 100644 --- a/usr/src/bin/kill/kill.1 +++ b/usr/src/bin/kill/kill.1 @@ -2,9 +2,9 @@ .\" All rights reserved. The Berkeley software License Agreement .\" specifies the terms and conditions for redistribution. .\" -.\" @(#)kill.1 4.1 (Berkeley) %G% +.\" @(#)kill.1 6.2 (Berkeley) %G% .\" -.TH KILL 1 +.TH KILL 1 "" .UC 4 .SH NAME kill \- terminate a process with extreme prejudice @@ -24,7 +24,7 @@ If a signal name or number preceded by `\-' is given as first argument, that signal is sent instead of terminate (see -.IR signal (2)). +.IR sigvec (2)). The signal names are listed by `kill \-l', and are as given in .I /usr/include/signal.h, @@ -39,28 +39,22 @@ if you use .IR sh (1); not if you use .IR csh (1).) +Negative process numbers also have special meanings; see +.IR kill (2) +for details. +.PP The killed processes must belong to the current user unless he is the super-user. .PP -To shut the system down and bring it up single user -the super-user may send the initialization process a TERM (terminate) -signal by `kill 1'; see -.IR init (8). -To force -.I init -to close and open terminals -according to what is currently in -/etc/ttys -use `kill \-HUP 1' (sending a hangup, signal 1). -.PP The process number of an asynchronous process started with `&' is reported by the shell. Process numbers can also be found by using +.IR ps (1). .I Kill is a built-in to .IR csh (1); -it allows job specifiers ``%...'' +it allows job specifiers of the form ``%...'' as arguments so process id's are not as often used as .I kill arguments. @@ -68,11 +62,9 @@ See .IR csh (1) for details. .SH "SEE ALSO" -csh(1), ps(1), kill(2), signal(2) +csh(1), ps(1), kill(2), sigvec(2) .SH BUGS -An option to kill process groups ala -.IR killpg (2) -should be provided; a replacement for ``kill 0'' +A replacement for ``kill 0'' for .IR csh (1) users should be provided.