diff options
author | Jan Safranek <jsafrane@redhat.com> | 2009-12-22 09:23:42 +0100 |
---|---|---|
committer | Jan Safranek <jsafrane@redhat.com> | 2009-12-22 09:23:42 +0100 |
commit | 1a488af91a583fc7160f94be0da10671150b626a (patch) | |
tree | f567bc756853cdbd96ff5ee5e5cae3d1707bd64e | |
parent | ff35955379053d1134cf020590c2e0cbdb76a946 (diff) | |
download | libcg-1a488af91a583fc7160f94be0da10671150b626a.tar.gz libcg-1a488af91a583fc7160f94be0da10671150b626a.tar.xz libcg-1a488af91a583fc7160f94be0da10671150b626a.zip |
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 <jsafrane@redhat.com>
-rw-r--r-- | samples/Makefile.am | 2 | ||||
-rw-r--r-- | samples/cgconfig.sysconfig | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/samples/Makefile.am b/samples/Makefile.am index 347dd60..1bca4a1 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 0000000..5a61bf6 --- /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 |