summaryrefslogtreecommitdiff
path: root/killjail_man.html
blob: 3a75ebd870f03063a4de5a8e6c31f42a5c8f4ec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<HTML>
<BODY>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->

</PRE>
<H2>SYNOPSIS</H2><PRE>
       <B>killjail</B> [ <B>-h</B> | <B>-r</B> ] [ <B>-t</B> <I>timeout</I> ] [ <B>-fq</B> ] <I>jailname</I> <I>...</I>


</PRE>
<H2>DESCRIPTION</H2><PRE>
       <B>killjail</B> can either send signals to a <B>jailer(8)</B> process to
       manage the shutdown or restart of a jail or  it  can  kill
       all the processes in a jail on it's own.

       When no options are given the jail is shutdown as follows:

       1. A stop request (SIGTERM) is sent to the <B>jailer(8)</B>  pro-
          cess  for  the  jail if there is one. This initiates an
          orderly shutdown.

       2. Any remaining processes are killed with a SIGTERM.

       3. If the <B>-f</B> option is specified, send a  SIGKILL  to  any
          remaining processes.



</PRE>
<H2>OPTIONS</H2><PRE>
       -f     Force  jail to shutdown sending a SIGKILL as a last
              resort.

       -h     Sends a halt request to a jail (SIGQUIT). The  jail
              must  have  a  <B>jailer(8)</B> process running inside it.
              The <B>jailer(8)</B> process remains  running  within  the
              jail,  but  all other jailed processes are shutdown
              in and orderly fashion.

       -q     Supress warnings.

       -r     Sends a restart request to  a  jail  (SIGHUP).  The
              jail  must  have a <B>jailer(8)</B> process running inside
              it.

       -t timeout
              The timeout in seconds to wait between steps  1,  2
              and 3 above. Defaults to 3.



</PRE>
<H2>BUGS</H2><PRE>
       I'm sure they're out there. Let me know.



</PRE>
<H2>AUTHOR</H2><PRE>
       Nate Nielsen &lt;nielsen@memberwebs.com&gt;



</PRE>
<H2>SEE ALSO</H2><PRE>
       <B>jail(8)</B>, <B>jailer(8)</B>, <B>kill(1)</B>

</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>