summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2008-08-13 19:35:01 +0000
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2008-08-13 19:35:01 +0000
commit5d3c683a3f4160cb4d081a3ddcf367311ddf0c8b (patch)
treefcb3bc308190d622eb1559714b82d8372e38a5e5 /scripts
parent5c16f4a02dfee006b7fb8a04162ed511e3abc481 (diff)
downloadlibcg-5d3c683a3f4160cb4d081a3ddcf367311ddf0c8b.tar.gz
libcg-5d3c683a3f4160cb4d081a3ddcf367311ddf0c8b.tar.xz
libcg-5d3c683a3f4160cb4d081a3ddcf367311ddf0c8b.zip
libcgroup: Configuration and parsing updates (v2)
Dhaval, wanted a patch with -p1 generated so that he can apply it and use it with quilt. Here goes Testing Tested with samples/cgconfig.conf (NOTE: expects user balbir to be present on the system, feel free to change and test). TODO 1. Add hooks for other controllers, namely memory, cpuacct and cpuset Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@134 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'scripts')
-rw-r--r--scripts/doc/howto.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/doc/howto.txt b/scripts/doc/howto.txt
index c6796d6..d72994a 100644
--- a/scripts/doc/howto.txt
+++ b/scripts/doc/howto.txt
@@ -4,7 +4,7 @@ management system. The script consists of two major components
Configuration files
-------------------
-The main configuraiton file /etc/wlm.conf. This file has a format
+The main configuraiton file /etc/cgconfig.conf. This file has a format
mount <mountpoint> <list of controllers>
<controller> <controller configuration file>
@@ -15,11 +15,11 @@ A sample configuration file is included below
# controller file
#
mount /container cpu
-cpu /etc/wlm/cpu.conf
+cpu /etc/cgconfig/cpu.conf
NOTE: Any line beginning with '#' is ignored as comments. The sample
configuration above, mounts the cpu controller at mount point /container.
-It then parses /etc/wlm/cpu.conf as the configuration file for the
+It then parses /etc/cgconfig/cpu.conf as the configuration file for the
cpu controller.
The controller configuration file is of the format
@@ -53,7 +53,7 @@ Intialization script
--------------------
The initialization script is installed in /etc/init.d, it is called
-"wlm". Depending on the run-level, it is installed in the appropriate
+"cgconfig". Depending on the run-level, it is installed in the appropriate
/etc/rc.d/rc<N>.d. The script comes with two options
a. start
@@ -73,4 +73,4 @@ Assumptions
1. The kernel is compiled in with the correct options to support
cgroups and the CPU controller.
-2. This version has been tested with 2.6.24-rc1 only.
+2. This version has been tested with 2.6.25 only.