70 lines · 1.2 KB · Text
RawDownload
.TH KILL 1.SH NAMEkill, slay, broke \- print commands to kill processes.SH SYNOPSIS.B kill.I name ....PP.B slay.I name ....PP.B broke[.I user].SH DESCRIPTION.I Killprints commands that will cause all processes called.I nameand owned by the current user to be terminated.Use the.B sendcommand of.IR rio (1),or pipe the output of.I killinto.IR rc (1)to execute the commands..PP.I Killsuggests sending a.B "kill"note to the process; the samemessage delivered to the process's.B ctlfile (see.IR proc (3))is a surer, if heavy handed, kill,but is necessary if the offending process isignoring notes.The.I slaycommand prints commands to do this..PP.I Brokeprints commands that will cause all processesin the.I Brokenstateand owned by.I user(by default, the current user)to go away.When a process dies because of an error caught bythe system, it may linger in the.I Brokenstate to allow examination with a debugger.Executing the commands printed by.I brokelets the system reclaim the resources used bythe broken processes..SH SOURCE.B /rc/bin/kill.br.B /rc/bin/broke.SH "SEE ALSO".IR ps (1),.IR stop (1),.IR notify (2),.IR proc (3)