Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cgclear(1) [centos man page]

CGCLEAR(1)							 libcgroup Manual							CGCLEAR(1)

NAME
cgclear - unload the cgroup filesystem SYNOPSIS
cgclear [-e] [-l <filename>] [-L <directory>] [...] DESCRIPTION
Without parameters, this command moves all the tasks inside the various cgroups to the root cgroup, deletes all the cgroups and finally unmounts the cgroup filesystem from the system. If one or more config files are specified, only groups defined in the config files are removed. The files are processed in reverse order, i.e. the last file on command line is processed first, so cgclear can have the same command line arguments as appropriate cgconfigparser. -l, --load=<filename> specifies the config file to read. This option can be used multiple times and can be mixed with -L option. -L, --load-directory=<directory> specifies the directory, which is searched for configuration files. All files in this directory will be processed in alphabetical order as they were specified by -l option. This option can be used multiple times and can be mixed with -l option. -e specifies that only empty groups should be removed. If a group defined in a config file has tasks inside or has a subgroup, it won't be removed. This option works only with -l or -L options. ENVIRONMENT VARIABLES
CGROUP_LOGLEVEL controls verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR. SEE ALSO
cgconfigparser(1) Linux 2009-10-23 CGCLEAR(1)

Check Out this Related Man Page

CGCREATE(1)							 libcgroup Manual						       CGCREATE(1)

NAME
cgcreate - create new cgroup(s) SYNOPSIS
cgcreate [-h] [-t <tuid>:<tgid>] [-a <agid>:<auid>] [-f mode] [-d mode] [-s mode] -g <controllers>:<path> [-g ...] DESCRIPTION
The command creates new cgroup(s) defined by the options -g. -a <agid>:<auid> defines the name of the user and the group which own 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. -d, --dperm=mode sets the permissions of a control groups directory. The permissions needs to be specified as octal numbers e.g. -d 775. -f, --fperm=mode sets the permissions of the control groups parameters. The permissions needs to be specified as octal numbers e.g. -f 775. The value is not used as given because the current owner's permissions are used as an umask (so 777 will set group and others permis- sions to the owners permissions). -g <controllers>:<path> defines control groups to 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. -h, --help display this help and exit -s, --tperm=mode sets the permissions of the control group tasks file. The permissions needs to be specified as octal numbers e.g. -s 775. The value is not used as given because the current owner's permissions are used as an umask (so 777 will set group and others permis- sions to the owners permissions). -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. ENVIRONMENT VARIABLES
CGROUP_LOGLEVEL controls verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR. FILES
SEE ALSO
cgrules.conf (5) cgexec (1) cgclassify (1) Linux 2009-03-15 CGCREATE(1)
Man Page