cgcreate

Langue: en

Version: 2009-03-15 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)

NAME

cgcreate - create new cgroup(s)

SYNOPSIS

cgcreate [-t <tuid>:<tgid>] [-a <agid>:<auid>] -g <controllers>:<path> [-g ...]

DESCRIPTION

The command creates new cgroup(s) defined by option -g.
-t <tuid>:<tgid>
defines the name of the user and the group, which owns tasks file of the defined control group. I.e. this user and members of this group have write access to the file. The default value is the same as has the parent cgroup.
-a <agid>:<auid>
defines the name of the user and the group, which owns the rest of the defined control group’s files. These users are allowed to set subsystem parameters and create subgroups. The default value is the same as has the parent cgroup.
-g <controllers>:<path>
defines control groups which will be added. controllers is a list of controllers and path is the relative path to control groups in the given controllers list. This option can be specified multiple times.

FILES

SEE ALSO

cgrules.conf (5) cgexec (1) cgclassify (1)