create-control-group — create another control group
create-control-group
{group
}
create-control-group is a utility that creates the process control group group
with mkdir(3).
On platforms where /proc/self/cgroup
does not exist, this command is a no-op, for script compatibility.
Otherwise, that file is searched for a control group record with a blank controller field or (failing that) with a name=systemd
controller field.
If a record of the former type is found, version 2 control groups are assumed with the single control group hierarchy rooted at /sys/fs/cgroup
.
If a record of the latter type is found, version 1 control groups are assumed with the relevant control group hierarchy (the only one that is affected by the command) rooted at /sys/fs/cgroup/systemd
.
The command will fail if the process cannot create the given control group and it does not already exist.