From 5d3c683a3f4160cb4d081a3ddcf367311ddf0c8b Mon Sep 17 00:00:00 2001 From: Dhaval Giani Date: Wed, 13 Aug 2008 19:35:01 +0000 Subject: 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 Signed-off-by: Dhaval Giani git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@134 4f4bb910-9a46-0410-90c8-c897d4f1cd53 --- scripts/doc/howto.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts') 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 @@ -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.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. -- cgit