]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
cgclear: delete cgroups from config file
authorJan Safranek <jsafrane@redhat.com>
Fri, 23 Sep 2011 11:53:33 +0000 (13:53 +0200)
committerJan Safranek <jsafrane@redhat.com>
Thu, 3 Nov 2011 09:12:47 +0000 (10:12 +0100)
commit98a26c8618128f1040088b8a437823dda14d6e1d
tree3ef9c191e9de020bcff2613eece838e464fa98e9
parent535a1304d5ef13ea2c76b8c7d5ebfe7beb044d8d
cgclear: delete cgroups from config file

cgclear should be able to 'uload' cgroups (and mounts) as specified in
given config file - as exact opposite of cgconfigparser.

This patch adds new options '-c <config_file>' and '-C <directory with config
files> just for this purpose. These options can be specified multiple times.

Signed-off-by: Jan Safranek <jsafrane@redhat.com>
src/tools/Makefile.am
src/tools/cgclear.c