|
|
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; see ! 23: .IR signal (2). ! 24: The signal names are listed by ! 25: .LR "kill -l" , ! 26: and are as given in ! 27: .BR <signal.h> . ! 28: .PP ! 29: The terminate signal ! 30: will kill processes that do not catch the signal. ! 31: The ! 32: .B SIGKILL ! 33: signal is a sure kill, since it cannot be caught. ! 34: By convention, if process number 0 is specified, all members ! 35: in the process group (usually processes of ! 36: the current login or current ! 37: .IR mux (9.1) ! 38: layer) are signaled. ! 39: Killed processes must belong ! 40: to the current user unless ! 41: that is super-user. ! 42: .PP ! 43: To shut the system down and bring it up single user ! 44: the super-user may send the initialization process a terminate ! 45: signal by ! 46: .LR "kill 1" ; ! 47: see ! 48: .IR init (8). ! 49: To force ! 50: .I init ! 51: to close and open terminals ! 52: according to what is currently in ! 53: .F /etc/ttys ! 54: use ! 55: .BR "kill -SIGHUP 1" . ! 56: .PP ! 57: The process number of an asynchronous process ! 58: started with ! 59: .L & ! 60: is reported by the shell and by ! 61: .IR ps (1). ! 62: .SH EXAMPLES ! 63: .TP ! 64: .L ! 65: kill 7151 ! 66: Kill process 7151 gently; ! 67: the process can catch the signal. ! 68: .TP ! 69: .L ! 70: kill -SIGKILL 7151 ! 71: Kill peremptorily; this signal cannot be caught. ! 72: .TP ! 73: .L ! 74: kill 0 ! 75: Kill all the background processes in this process group. ! 76: .SH "SEE ALSO" ! 77: .IR ps (1), ! 78: .IR signal (2), ! 79: .IR signal (2), ! 80: .IR init (8)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.