Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cgrulesengd(8) [debian man page]

CGRULESENGD(8)							 libcgroup Manual						    CGRULESENGD(8)

NAME
cgrulesengd - control group rules daemon SYNOPSIS
cgrulesengd [options] DESCRIPTION
cgrulesengd is a daemon, which distributes processes to control groups. When any process changes its effective UID or GID, cgrulesengd inspects the list of rules loaded from the cgrules.conf file and moves the process to the appropriate control group. The list of rules is read during the daemon startup is are cached in the daemon's memory. The daemon reloads the list of rules when it receives SIGUSR2 signal. The daemon opens a standard unix socket to receive 'sticky' requests from cgexec. OPTIONS
-h|--help Display help. -f <path>|--logfile=<path> Write log messages to the given log file. When '-' is used as <path>, log messages are written to the standard output. If '-f' and '-s' are used together, the logs are sent to both destinations. -s[facility]|--syslog=[facility] Write log messages to syslog. The default facility is DAEMON. If '-f' and '-s' are used together, the logs are sent to both destina- tions. -n|--nodaemon Don't fork the daemon, stay in the foreground. -v|--verbose Display more log messages. This option can be used twice to enable more verbose log messages. -q|--quiet Display less log messages. This option can be used twice to enable even less log messages and to only log errors. -Q|--nolog Disable logging. -d|--debug Equivalent to '-nvvf -', i.e. don't fork the daemon, display all log messages and write them to the standard output. -u <user>|--socket-user=<user> -g <group>|--socket-group=<group> Set the owner of cgrulesengd socket. Assumes that cgexec runs with proper suid permissions so it can write to the socket when cgexec --sticky is used. FILES
/etc/cgrules.conf the default libcgroup configuration file SEE ALSO
cgrules.conf (5) Linux 2009-02-18 CGRULESENGD(8)

Check Out this Related Man Page

CGCLASSIFY(1)							 libcgroup Manual						     CGCLASSIFY(1)

NAME
cgclassify - move running task(s) to given cgroups SYNOPSIS
cgclassify [-g <controllers>:<path>] [--sticky | --cancel-sticky] <pidlist> DESCRIPTION
this command moves processes defined by the list of processes (pidlist) to the given control groups. The pids in the pidlist are separated by spaces -g <controllers>:<path> defines the control groups where the task will be moved. controllers is a list of controllers and path is the relative path to con- trol groups in the given controllers list. This flag can be used multiple times to define multiple pairs of lists of controllers and relative paths. Instead of the list of all mounted controllers, the wildcard * can be used. If this option is not used then cgclassify will automatically move the task to a control group based on /etc/cgrules.conf. --sticky If this option is used, the daemon of service cgred (cgrulesengd process) does not change both the specified pidlist and their chil- dren tasks. Without this option, the daemon does not change the specified pidlist but it automatically changes their child tasks to the right cgroup based on /etc/cgrules.conf. --cancel-sticky If this option is used, the daemon of service cgred (cgrulesengd process) can automatically change both the specified pidlist and their child tasks to the right cgroup based on /etc/cgrules.conf. ENVIRONMENT VARIABLES
CGROUP_LOGLEVEL controls verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR. FILES
/etc/cgrules.conf default libcgroup configuration file SEE ALSO
cgrules.conf (5), cgexec (1) Linux 2009-03-15 CGCLASSIFY(1)
Man Page