2.4. Unmounting a Hierarchy
2.4. Unmounting a Hierarchy You can unmount a hierarchy of cgroups with the umount command: For example: If the hierarchy is currently empty (that is, it contains only the root cgroup) the hierarchy is deactivated when it is unmounted. If the hierarchy contains any other cgroups, the hierarchy remains active in the kernel even though it is no longer mounted. To remove a hierarchy, ensure that all child cgroups are removed before you unmount the hierarchy, or use the cgclear command which can deactivate a hierarchy even when it is not empty - refer to Section 2.12, "Unloading Control Groups" .
~]# umount /cgroup/ name ~]# umount /cgroup/cpu_and_mem