Annotation of researchv10dc/man/adm/man1/kill.1, revision 1.1.1.1

1.1       root        1: .TH KILL 1
                      2: .CT 1 proc_man sa_mortals
                      3: .SH NAME
                      4: kill \(mi terminate a process with extreme prejudice
                      5: .SH SYNOPSIS
                      6: .B kill
                      7: [
                      8: .BI - sig
                      9: ]
                     10: .I processid ...
                     11: .br
                     12: .B kill
                     13: .B -l
                     14: .SH DESCRIPTION
                     15: .I Kill
                     16: sends the
                     17: .L SIGTERM
                     18: signal to the specified processes.
                     19: If a signal name or number preceded by 
                     20: .L -
                     21: is given
                     22: as first argument, that signal is sent instead of
                     23: terminate; see
                     24: .IR  signal (2).
                     25: The signal names are listed by
                     26: .LR "kill -l" ,
                     27: and are as given in
                     28: .BR <signal.h> .
                     29: .PP
                     30: The terminate signal
                     31: will kill processes that do not catch the signal.
                     32: The
                     33: .B SIGKILL
                     34: signal is a sure kill, since it cannot be caught.
                     35: By convention, if process number 0 is specified, all members
                     36: in the process group (usually processes of
                     37: the current login or current
                     38: .IR mux (9.1)
                     39: layer) are signaled.
                     40: Killed processes must belong
                     41: to the current user unless
                     42: that is super-user.
                     43: .PP
                     44: To shut the system down and bring it up single user
                     45: the super-user may send the initialization process a terminate
                     46: signal by
                     47: .LR "kill 1" ;
                     48: see
                     49: .IR init (8).
                     50: To force
                     51: .I init
                     52: to close and open terminals
                     53: according to what is currently in
                     54: .F /etc/ttys
                     55: use
                     56: .BR "kill -SIGHUP 1" .
                     57: .PP
                     58: The process number of an asynchronous process
                     59: started with 
                     60: .L &
                     61: is reported by the shell and by
                     62: .IR ps (1).
                     63: .SH EXAMPLES
                     64: .TP
                     65: .L
                     66: kill 7151
                     67: Kill process 7151 gently;
                     68: the process can catch the signal.
                     69: .TP
                     70: .L
                     71: kill -SIGKILL 7151
                     72: Kill peremptorily; this signal cannot be caught.
                     73: .TP
                     74: .L
                     75: kill 0
                     76: Kill all the background processes in this process group.
                     77: .SH "SEE ALSO"
                     78: .IR ps (1), 
                     79: .IR signal (2), 
                     80: .IR signal (2), 
                     81: .IR init (8)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.