summaryrefslogtreecommitdiffstats
path: root/samples/wlm.conf.3
diff options
context:
space:
mode:
Diffstat (limited to 'samples/wlm.conf.3')
-rw-r--r--samples/wlm.conf.365
1 files changed, 65 insertions, 0 deletions
diff --git a/samples/wlm.conf.3 b/samples/wlm.conf.3
new file mode 100644
index 0000000..6738624
--- /dev/null
+++ b/samples/wlm.conf.3
@@ -0,0 +1,65 @@
+#
+# Copyright IBM Corporation. 2007
+#
+# Authors: Balbir Singh <balbir@linux.vnet.ibm.com>
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2.1 of the GNU Lesser General Public License
+# as published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it would be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# controller file
+#
+
+group ca1 {
+ perm {
+ task {
+ uid = root;
+ gid = kvm;
+ }
+ admin {
+ uid = root;
+ gid = root;
+ }
+ }
+
+ cpu {
+ cpu.shares = 500;
+ }
+
+ memory {
+ memory.limit_in_bytes = 200M;
+ }
+}
+
+group default {
+ perm {
+ task {
+ uid = root;
+ gid = root;
+ }
+ admin {
+ uid = root;
+ gid = root;
+ }
+ }
+
+ cpu {
+ cpu.shares = 500;
+ }
+
+ memory {
+ memory.limit_in_bytes = 200M;
+ }
+}
+
+mount {
+ cpu = /container;
+ memory = /memory;
+}
+
+mount {
+ cpu_acct = /acct;
+}