cgdelete, which has a syntax similar to that of cgcreate. Run the following command:
cgdeletesubsystems:path
subsystems is a comma-separated list of subsystems.
path is the path to the cgroup relative to the root of the hierarchy.
~]# cgdelete cpu,net_cls:/test-subgroupcgdelete can also recursively remove all subgroups with the option -r.