Product SiteDocumentation Site

2.11. Unloading Groups

Warning — This Command Destroys all Control Groups

The cgclear command destroys all control groups in all hierarchies. If you do not have these hierarchies stored in a configuration file, you will not be able to readily reconstruct them.
To clear an entire control group file system, use the cgclear command.
All tasks in the control group are reallocated to the root node of the hierarchies, all control groups are removed, and the filesystem itself is unmounted from the system, thus destroying all previously mounted hierarchies. Finally, the directory where the cgroup filesystem was mounted is actually deleted.