~serge-hallyn/ubuntu/natty/lxc/lxc-fix-3bugs

« back to all changes in this revision

Viewing changes to doc/lxc-cgroup.1

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter, Stéphane Graber, Guido Trotter
  • Date: 2010-01-10 10:40:21 UTC
  • mfrom: (1.1.2 upstream) (3.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100110104021-z8rj5zw5mlvra08l
Tags: 0.6.4-1
[ Stéphane Graber ]
* Upgrade standards-version to 3.8.3
* Drop the copy of etc/* from rules as "etc" is no longer in the tarball

[ Guido Trotter ]
* New Upstream Version
* Update libcap2-dev dependency to libcap-dev
* Install upstream-built man pages via debian/lxc.manpages
* Drop unneeded docbook-utils build dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" This manpage has been automatically generated by docbook2man 
 
2
.\" from a DocBook document.  This tool can be found at:
 
3
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
 
4
.\" Please send any bug reports, improvements, comments, patches, 
 
5
.\" etc. to Steve Cheng <steve@ggi-project.org>.
 
6
.TH "LXC-CGROUP" "1" "23 November 2009" "" ""
 
7
 
 
8
.SH NAME
 
9
lxc-cgroup \- manage the control group associated with a container
 
10
.SH SYNOPSIS
 
11
 
 
12
\fBlxc-start \fI-n name\fB
 
13
\fIsubsystem\fB [value]
 
14
\fR
 
15
 
 
16
.SH "DESCRIPTION"
 
17
.PP
 
18
\fBlxc-cgroup\fR get or set value from the control
 
19
group associated with the
 
20
container \fIname\fR\&. If
 
21
no [value] is specified, the value of
 
22
the \fIsubsystem\fR is displayed, otherwise
 
23
it is set. The \fBlxc-cgroup\fR does not assume the
 
24
correctness of the \fIsubsystem\fR name, it
 
25
is up to the user to specify the
 
26
right \fIsubsystem\fR name.
 
27
.SH "OPTIONS"
 
28
.TP
 
29
\fB   \fIsubsystem\fB \fR
 
30
Specify the subsystem control group name.
 
31
.TP
 
32
\fB   [value] \fR
 
33
Specify the subsystem control group value to be set.
 
34
.SH "COMMON OPTIONS"
 
35
.PP
 
36
These options are common to most of lxc commands.
 
37
.TP
 
38
\fB-?, -h, --help\fR
 
39
Print a longer usage message than normal.
 
40
.TP
 
41
\fB--usage\fR
 
42
Give the usage message
 
43
.TP
 
44
\fB-q, --quiet\fR
 
45
mute on
 
46
.TP
 
47
\fB-o, --logfile=\fIFILE\fB\fR
 
48
Output to an alternate log
 
49
\fIFILE\fR\&. The default is no log.
 
50
.TP
 
51
\fB-l, --logpriority=\fILEVEL\fB\fR
 
52
Set log priority to
 
53
\fILEVEL\fR\&. The default log
 
54
priority is ERROR\&. Possible values are :
 
55
FATAL, CRIT,
 
56
WARN, ERROR,
 
57
NOTICE, INFO,
 
58
DEBUG\&.
 
59
.TP
 
60
\fB-n, --name=\fINAME\fB\fR
 
61
Use container identifier \fINAME\fR\&.
 
62
The container identifier format is an alphanumeric string.
 
63
.SH "EXAMPLES"
 
64
.TP
 
65
\fBlxc-cgroup -n foo devices.list\fR
 
66
display the allowed devices to be used.
 
67
.TP
 
68
\fBlxc-cgroup -n foo cpuset.cpus "0,3"\fR
 
69
assign the processors 0 and 3 to the container.
 
70
.SH "DIAGNOSTIC"
 
71
.TP
 
72
\fBThe container was not found\fR
 
73
The container is not running.
 
74
.SH "SEE ALSO"
 
75
.PP
 
76
\fBlxc\fR(1),
 
77
\fBlxc-create\fR(1),
 
78
\fBlxc-destroy\fR(1),
 
79
\fBlxc-start\fR(1),
 
80
\fBlxc-stop\fR(1),
 
81
\fBlxc-execute\fR(1),
 
82
\fBlxc-console\fR(1),
 
83
\fBlxc-monitor\fR(1),
 
84
\fBlxc-wait\fR(1),
 
85
\fBlxc-cgroup\fR(1),
 
86
\fBlxc-ls\fR(1),
 
87
\fBlxc-ps\fR(1),
 
88
\fBlxc-info\fR(1),
 
89
\fBlxc-freeze\fR(1),
 
90
\fBlxc-unfreeze\fR(1),
 
91
\fBlxc.conf\fR(5)
 
92
.SH "AUTHOR"
 
93
.PP
 
94
Daniel Lezcano <daniel.lezcano@free.fr>