]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
cgclassify: A command line tool to classify/re-classify already running task
authorDhaval Giani <dhaval@linux.vnet.ibm.com>
Wed, 13 Aug 2008 20:04:51 +0000 (20:04 +0000)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Wed, 13 Aug 2008 20:04:51 +0000 (20:04 +0000)
commitcb9712d5698f43bb692a2ddcbaad8bb111022702
tree77a0e9461eff9ebb8d3eac212e093df083eaa895
parent3e0f0288e0d2f3abb29486e724ebc9e025b351c5
cgclassify: A command line tool to classify/re-classify already running task

From: Vivek Goyal <vgoyal@redhat.com>

o cgclassify, a command line tool to put a list of pids to the right cgroup
  based on rules in /etc/cgrules.conf. It can be mainly used for
  reclassification of tasks which are already running. Can think of two
  use cases.
        - During initial bootup, after cgroups are mounted, one needs to
          move tasks (started beofore cgroups were mounted) into right
          cgroup.

        - Once can choose to reclassify the tasks if admin has changed the
          rules and thinks a group of tasks should reclassified based on
          new rules.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@138 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Makefile.in
cgclassify.c [new file with mode: 0644]