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
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)
i'm using SunOS 5.7 and I know theres a ls option for seeing what kind of files are in a directory. I was wondering if there was a ls option that could see if the files are txt or files that can be opened in vi (1 Reply)
How do I perform a command to multiple files? For example, I want to look at all files in a directory and print the ones that do not contain a certain string. How do I go about doing this? (4 Replies)
Hello everyone,
I'm new a to Linux command line. I was executing some commands to the data i have when i faced this problem.
I have a directory contanining thousands of files inside, with many many different names.
I wanted to pick the FILENAMES that contains '-1.mol' in thier name, and... (2 Replies)
I need to Write a shell script that allows some system-administration tasks to be preformed automatically from a menu-driven interface. with automated following tasks:
Copy directory tree
Delete files or directories
Output Information (this part is done )
*Copy directory tree
The “Copy... (2 Replies)
Hi all,
Please somebody help me with this:
I want to check if the files listed in a text file, are found under a directory or not.
For example: the file is list_of_files.txt, which contains inside this rows:
# cat list_of_files
logs
errors
paths
debug
#
I want to check if these... (3 Replies)
Hello,
This would be very basic question to most of you, but for me as a newbie it is an un-know.
I would like to load a configuration file into memory before executing a specific command. For example: I have a config file that holds all the database connectivity information and I'd like to... (5 Replies)
Hey All,
I'm receiving the following error off of a Power5 9133-55A after I write 2-5 files to the LUN:
4B436A3D 0313233216 T H fscsi0 LINK ERROR
I can create the filesystem, volume groups etc etc. All goes well until there is sustained activity to the LUN then the above error... (23 Replies)