lxc-cgroup

Langue: en

Version: 29 April 2009 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

lxc-cgroup - manage the control group associated with a container

SYNOPSIS

lxc-start -n name subsystem [value]

DESCRIPTION

lxc-cgroup get or set value from the control group associated with the container name. If no [value] is specified, the value of the subsystem is displayed, otherwise it is set. The lxc-cgroup does not assume the correctness of the subsystem name, it is up to the user to specify the right subsystem name.

OPTIONS

-n name
Specify the container name associated with a control group.
subsystem
Specify the subsystem control group name.
[value]
Specify the subsystem control group value to be set.

EXAMPLES

lxc-cgroup -n foo devices.list
display the allowed devices to be used.
lxc-cgroup -n foo cpuset.cpus "0,3"
assign the processors 0 and 3 to the container.

DIAGNOSTIC

The container was not found
The container is not running.

SEE ALSO

lxc.conf(5),

AUTHOR

Daniel Lezcano <daniel.lezcano@free.fr>