From: Jan Safranek Date: Tue, 22 Dec 2009 08:23:42 +0000 (+0100) Subject: Add sample /etc/sysconfig/cgconfig X-Git-Tag: v0.35~8^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a488af91a583fc7160f94be0da10671150b626a;p=thirdparty%2Flibcgroup.git Add sample /etc/sysconfig/cgconfig Feel free to rephrase it's content, I could not find any better words to describe sysdefault group usability. Changelog: - set the default to 'yes' Signed-off-by: Jan Safranek --- diff --git a/samples/Makefile.am b/samples/Makefile.am index 347dd604..1bca4a1e 100644 --- a/samples/Makefile.am +++ b/samples/Makefile.am @@ -1 +1 @@ -EXTRA_DIST = cgconfig.conf cgred.conf cgrules.conf +EXTRA_DIST = cgconfig.conf cgred.conf cgrules.conf cgconfig.sysdefault diff --git a/samples/cgconfig.sysconfig b/samples/cgconfig.sysconfig new file mode 100644 index 00000000..5a61bf6e --- /dev/null +++ b/samples/cgconfig.sysconfig @@ -0,0 +1,12 @@ +# Service cgconfig can create a default group in all mounted hierarchies and +# move all processes there on boot. If no default rule is specified in +# /etc/cgrules.conf, the default group is named '/sysdefault'. +# This automatically created group(s) can be useful e.g. when using 'cpu' +# controller to limit cpu.shares of this default group and allowing some more +# important group take most of the CPU. +# +# By default, create these groups: +CREATE_DEFAULT=yes + +# Uncomment following line to disable creation of the default group on startup: +# CREATE_DEFAULT=no