summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBalbir Singh <balbir@linux.vnet.ibm.com>2008-04-18 05:34:12 +0000
committerBalbir Singh <balbir@linux.vnet.ibm.com>2008-04-18 05:34:12 +0000
commit5ddac5d87d47ace625a04146b91eed6c1ef9daea (patch)
tree5078dc82806330bc218b0e412370657c6ea85a73 /scripts
parent0789973a4b487961f70c5eb6c31bb3c1e1589b71 (diff)
downloadlibcg-5ddac5d87d47ace625a04146b91eed6c1ef9daea.zip
libcg-5ddac5d87d47ace625a04146b91eed6c1ef9daea.tar.gz
libcg-5ddac5d87d47ace625a04146b91eed6c1ef9daea.tar.xz
Miscellaneous scripts and libcg bug fixes
Turn off -DDEBUG in Makefile Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com> Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/branches/balbir@18 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'scripts')
-rw-r--r--scripts/doc/howto.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/doc/howto.txt b/scripts/doc/howto.txt
index 38c95e3..c6796d6 100644
--- a/scripts/doc/howto.txt
+++ b/scripts/doc/howto.txt
@@ -35,6 +35,20 @@ class2 cpu.shares=512
The configuration below creates two classes class1 and class2 and
assigns shares of 1024 to class1 and 512 to class1.
+The other options that can be specified are
+
+tuid = owner of the tasks file
+tgid = group permissions of the tasks file
+cuid = owner of the newly created node
+cgid = group permissions of the newly created node
+
+Example
+
+class1 cpu.shares = 1024 tuid=root tgid=root cuid=database cgid=database.
+
+By default all these files are owned by root. The flexibilty of specifying
+owners makes it easier for other applications to use resource management.
+
Intialization script
--------------------