~stgraber/ubuntu/quantal/lxc/apparmor-profiles-rework

« back to all changes in this revision

Viewing changes to doc/lxc-ps.sgml.in

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2009-04-29 17:49:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090429174913-jvahs1ykizqtodje
Tags: upstream-0.6.2
ImportĀ upstreamĀ versionĀ 0.6.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
<!-- 
 
3
 
 
4
lxc: linux Container library
 
5
 
 
6
(C) Copyright IBM Corp. 2007, 2008
 
7
 
 
8
Authors:
 
9
Daniel Lezcano <dlezcano at fr.ibm.com>
 
10
 
 
11
This library is free software; you can redistribute it and/or
 
12
modify it under the terms of the GNU Lesser General Public
 
13
License as published by the Free Software Foundation; either
 
14
version 2.1 of the License, or (at your option) any later version.
 
15
 
 
16
This library is distributed in the hope that it will be useful,
 
17
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
19
Lesser General Public License for more details.
 
20
 
 
21
You should have received a copy of the GNU Lesser General Public
 
22
License along with this library; if not, write to the Free Software
 
23
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
24
 
 
25
-->
 
26
 
 
27
<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
 
28
 
 
29
<refentry>
 
30
 
 
31
  <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
 
32
 
 
33
  <refmeta>
 
34
    <refentrytitle>lxc-ps</refentrytitle>
 
35
    <manvolnum>1</manvolnum>
 
36
  </refmeta>
 
37
 
 
38
  <refnamediv>
 
39
    <refname>lxc-ps</refname>
 
40
 
 
41
    <refpurpose>
 
42
      list the processes belonging to a specific container.
 
43
    </refpurpose>
 
44
  </refnamediv>
 
45
 
 
46
  <refsynopsisdiv>
 
47
    <cmdsynopsis>
 
48
      <command>lxc-ps <replaceable>-n name</replaceable>
 
49
        <optional>ps option</optional>
 
50
      </command>
 
51
    </cmdsynopsis>
 
52
  </refsynopsisdiv>
 
53
 
 
54
  <refsect1>
 
55
    <title>Description</title>
 
56
    <para>
 
57
      <command>lxc-ps</command> list the processes belonging to a
 
58
      specific container.
 
59
    </para>
 
60
  </refsect1>
 
61
 
 
62
  <refsect1>
 
63
    <title>Options</title>
 
64
    <variablelist>
 
65
 
 
66
      <varlistentry>
 
67
        <term>
 
68
          <option><replaceable>-n name</replaceable></option>
 
69
        </term>
 
70
        <listitem>
 
71
          <para>
 
72
            specify the container <replaceable>name</replaceable> to
 
73
            list the processes.
 
74
          </para>
 
75
        </listitem>
 
76
      </varlistentry>
 
77
 
 
78
      <varlistentry>
 
79
        <term>
 
80
          <option><optional>ps options</optional></option>
 
81
        </term>
 
82
        <listitem>
 
83
          <para>
 
84
            The option passed to <command>lxc-ps</command> are the
 
85
            same as the <command>ps</command> command.
 
86
          </para>
 
87
        </listitem>
 
88
      </varlistentry>
 
89
 
 
90
    </variablelist>
 
91
 
 
92
  </refsect1>
 
93
 
 
94
  <refsect1>
 
95
    <title>Examples</title>
 
96
    <variablelist>
 
97
      <varlistentry>
 
98
        <term>lxc-ps -n foo --forest</term>
 
99
        <listitem>
 
100
        <para>
 
101
          list all the processes belonging to container 'foo' and show
 
102
          dependencies.
 
103
        </para>
 
104
        </listitem>
 
105
      </varlistentry>
 
106
 
 
107
      <varlistentry>
 
108
        <term>lxc-ps -n foo -o pid=</term>
 
109
        <listitem>
 
110
        <para>
 
111
          list all the containers and display the list in one column.
 
112
        </para>
 
113
        </listitem>
 
114
      </varlistentry>
 
115
 
 
116
    </variablelist>
 
117
  </refsect1>
 
118
 
 
119
  <refsect1>
 
120
    <title>See Also</title>
 
121
 
 
122
    <simpara>    
 
123
      <citerefentry>
 
124
        <refentrytitle>ps</refentrytitle>
 
125
        <manvolnum>1</manvolnum>
 
126
      </citerefentry>,
 
127
    </simpara>
 
128
 
 
129
 
 
130
  </refsect1>
 
131
 
 
132
  <refsect1>
 
133
    <title>Author</title>
 
134
    <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
 
135
  </refsect1>
 
136
 
 
137
</refentry>
 
138
 
 
139
<!-- Keep this comment at the end of the file
 
140
Local variables:
 
141
mode: sgml
 
142
sgml-omittag:t
 
143
sgml-shorttag:t
 
144
sgml-minimize-attributes:nil
 
145
sgml-always-quote-attributes:t
 
146
sgml-indent-step:2
 
147
sgml-indent-data:t
 
148
sgml-parent-document:nil
 
149
sgml-default-dtd-file:nil
 
150
sgml-exposed-tags:nil
 
151
sgml-local-catalogs:nil
 
152
sgml-local-ecat-files:nil
 
153
End:
 
154
-->