Skip to content
This repository
Newer
Older
100644 120 lines (94 sloc) 3.092 kb
396639d4 » Daniel Lezcano
2010-05-28 update lxc-checkpoint / lxc-restart man
1 <!--
2
3 lxc: linux Container library
4
5 (C) Copyright IBM Corp. 2007, 2008
6
7 Authors:
8 Daniel Lezcano <dlezcano at fr.ibm.com>
9
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 2.1 of the License, or (at your option) any later version.
14
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
19
20 You should have received a copy of the GNU Lesser General Public
21 License along with this library; if not, write to the Free Software
22 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
24 -->
25
e4b3fe58 » gkurz
2010-04-29 lxc: introduce lxc-kill command (v4)
26 <!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
27
28 <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
29 <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
30 ]>
31
32 <refentry>
33
34 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
35
36 <refmeta>
37 <refentrytitle>lxc-kill</refentrytitle>
38 <manvolnum>1</manvolnum>
39 <refmiscinfo>IBM</refmiscinfo>
40 </refmeta>
41
42 <refnamediv>
43 <refname>lxc-kill</refname>
44
45 <refpurpose>
46 Send a signal to the process 1 of the container.
47 </refpurpose>
48 </refnamediv>
49
50 <refsynopsisdiv>
51 <cmdsynopsis>
8b92fb78 » dwengen
2012-09-10 lxc-doc-synopsis-args
52 <command>lxc-kill</command>
53 <arg choice="req">--name=<replaceable>NAME</replaceable></arg>
54 <arg choice="req"><replaceable>SIGNUM</replaceable></arg>
e4b3fe58 » gkurz
2010-04-29 lxc: introduce lxc-kill command (v4)
55 </cmdsynopsis>
56 </refsynopsisdiv>
57
58 <refsect1>
59 <title>Description</title>
60
61 <para>
62 <command>lxc-kill</command> send
63 the <replaceable>SIGNUM</replaceable> signal to the first process of the container.
64 </para>
65 <para>
396639d4 » Daniel Lezcano
2010-05-28 update lxc-checkpoint / lxc-restart man
66 The <replaceable>SIGNUM</replaceable> is a numeric value,
67 the signal name is not supported.
b8da590f » Michel Normand
2010-05-27 lxc-kill man update about SIGSTOP and SIGKILL
68 </para>
69 <para>
e4b3fe58 » gkurz
2010-04-29 lxc: introduce lxc-kill command (v4)
70 If this command is used on an application container ran by
71 lxc-execute, the lxc-init will receive the signal and will forward it to
72 the process 2 which is the command specified in the command line. See
73 lxc-execute (1).
b8da590f » Michel Normand
2010-05-27 lxc-kill man update about SIGSTOP and SIGKILL
74 Obviously the SIGKILL and SIGSTOP signals are not able to be forwarded,
75 (as per the signal(7) man page).
e4b3fe58 » gkurz
2010-04-29 lxc: introduce lxc-kill command (v4)
76 </para>
77 </refsect1>
78
79 &commonoptions;
80
81 <refsect1>
82 <title>Examples</title>
83
84 <para>
85 To send the signal 26 to the process pi1 running in container
86 <literal>123</literal> :
87 </para>
88
89 <programlisting>
90 lxc-execute -n 123 -- pi1 -d 500000
91 lxc-kill --name=123 26
92 </programlisting>
93
94 </refsect1>
95
96 &seealso;
97
396639d4 » Daniel Lezcano
2010-05-28 update lxc-checkpoint / lxc-restart man
98 <refsect1>
99 <title>Author</title>
100 <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
101 </refsect1>
102
e4b3fe58 » gkurz
2010-04-29 lxc: introduce lxc-kill command (v4)
103 </refentry>
104
105 <!-- Keep this comment at the end of the file
106 Local variables:
107 mode: sgml
108 sgml-omittag:t
109 sgml-shorttag:t
110 sgml-minimize-attributes:nil
111 sgml-always-quote-attributes:t
112 sgml-indent-step:2
113 sgml-indent-data:t
114 sgml-parent-document:nil
115 sgml-default-dtd-file:nil
116 sgml-exposed-tags:nil
117 sgml-local-catalogs:nil
118 sgml-local-ecat-files:nil
119 End:
120 -->
Something went wrong with that request. Please try again.