plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

kill.1 (1150B)


      1 .TH KILL 1
      2 .SH NAME
      3 kill, slay, start, stop \- print commands to manipulate processes
      4 .SH SYNOPSIS
      5 .B kill
      6 .I name ...
      7 .PP
      8 .B slay
      9 .I name ...
     10 .PP
     11 .B start
     12 .I name ...
     13 .PP
     14 .B stop
     15 .I name ...
     16 .SH DESCRIPTION
     17 .I Kill
     18 prints commands that will cause all processes with 
     19 .I name
     20 and owned by the current user to be terminated.
     21 Each command is commented with an output line from
     22 .MR ps (1)
     23 describing the process that would be killed.
     24 Use the
     25 .B send
     26 command of
     27 .MR 9term (1) ,
     28 or pipe the output of
     29 .I kill
     30 into
     31 .MR rc (1)
     32 or
     33 .MR sh (1)
     34 to execute the commands.
     35 .PP
     36 .I Kill
     37 suggests sending a Unix
     38 .B TERM
     39 signal to the process; 
     40 sending a
     41 .B KILL
     42 signal is a surer, if heavy handed, kill,
     43 but is necessary if the offending process is
     44 ignoring signals.
     45 The
     46 .I slay
     47 command prints commands to do this.
     48 .PP
     49 .I Stop
     50 prints commands to pause execution of processes
     51 by sending them the
     52 .B STOP
     53 signal.
     54 .PP
     55 .I Start
     56 prints commands to restart stopped processes by sending them
     57 the
     58 .B CONT
     59 signal.
     60 .SH SOURCE
     61 .B \*9/bin
     62 .SH "SEE ALSO"
     63 .MR ps (1) ,
     64 .MR notify (3)
     65 .SH BUGS
     66 .I Stop
     67 and
     68 .I start
     69 should limit themselves to currently running or stopped processes.