Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cgclassify(1) [centos 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)

Check Out this Related Man Page

CGEXEC(1)							 libcgroup Manual							 CGEXEC(1)

NAME
cgexec - run the task in given control groups SYNOPSIS
cgexec [-h] [-g <controllers>:<path>] [--sticky] command [arguments] DESCRIPTION
The cgexec program executes the task command with arguments arguments in the given control groups. -g <controllers>:<path> defines the control groups in which the task will be run. controllers is a list of controllers and path is the relative path to control 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 b"*b" can be used. If this option is not used, cgexec will automatically place the task in the right cgroup based on /etc/cgrules.conf. -h, --help Display this help and exit. --sticky If running the task command with this option, the daemon of service cgred (cgrulesengd process) does not change both the task of the command and the child tasks. Without this option, the daemon does not change the task of the command but it changes the child tasks to the right cgroup based on /etc/cgrules.conf automatically. EXAMPLES
cgexec -g *:test1 ls runs command ls in control group test1 in all mounted controllers. cgexec -g cpu,memory:test1 ls -l runs command ls -l in control group test1 in controllers cpu and memory. cgexec -g cpu,memory:test1 -g swap:test2 ls -l runs command ls -l in control group test1 in controllers cpu and memory and control group test2 in controller swap. FILES
/etc/cgrules.conf default libcgroup configuration file SEE ALSO
cgrules.conf (5) Linux 2009-03-15 CGEXEC(1)
Man Page

4 More Discussions You Might Find Interesting

1. AIX

Problems AIX and SAN.

Sorry for my english. We have a IBM BLADES JS21. AIX 5.3 update to 6. Our JS21 has 2 FC (fcs0 and fcs1). We have one DS4072, one Disk system with 2 controllers and 2 FC by controllers. This means, all AIX FC see all Disk systems controllers by 2 FC switchs. (one fc two roads) FC AIX... (4 Replies)
Discussion started by: fjgonzalez
4 Replies

2. Ubuntu

Does anyone succesfully ported windos7 sticky note to linux

Hi, I wonder if someone successfully ported windows 7 sticky notes to linux sticky notes a like.. If any what package used.. Thanks in advance. (2 Replies)
Discussion started by: jao_madn
2 Replies

3. UNIX and Linux Applications

multiple tasks in Linux automatically

How to schedule the multiple tasks in Linux automatically ? (1 Reply)
Discussion started by: saku
1 Replies

4. Solaris

Reset MPxIO total path count

We recently moved our netapp disks onto new infrastructure by attaching the new controllers to our fibre switch and netapp migrating the disks. Disks kept the same address. We originally had 4 paths, but after attaching the new controllers we had 8. Now I want to remove the old paths. But can't. ... (5 Replies)
Discussion started by: garydeena
5 Replies