[Lunar-commits] <moonbase> libcgroup: a library that abstracts the control group file system.

Florin Braescu florin at lunar-linux.org
Wed Oct 6 07:24:54 CEST 2010


commit 67bbebb621094e7e666f4ef342d5f02dfab0ff09
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Wed Oct 6 08:24:54 2010 +0300

    libcgroup: a library that abstracts the control group file system.
---
 libs/libcgroup/DEPENDS |    3 +++
 libs/libcgroup/DETAILS |   25 +++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/libs/libcgroup/DEPENDS b/libs/libcgroup/DEPENDS
new file mode 100644
index 0000000..082e0db
--- /dev/null
+++ b/libs/libcgroup/DEPENDS
@@ -0,0 +1,3 @@
+optional_depends  "Linux-PAM"  "--enable-pam"  ""  "for PAM support"
+
+
diff --git a/libs/libcgroup/DETAILS b/libs/libcgroup/DETAILS
new file mode 100644
index 0000000..45339f4
--- /dev/null
+++ b/libs/libcgroup/DETAILS
@@ -0,0 +1,25 @@
+          MODULE=libcgroup
+         VERSION=0.36.2
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=$SFORGE_URL/libcg
+      SOURCE_VFY=sha1:93b78c17ef95c0c255ba245b843183fd016e7e58
+        WEB_SITE=http://libcg.sourceforge.net
+         ENTERED=20101006
+         UPDATED=20101006
+           SHORT="A library that abstracts the control group file system in Linux"
+
+cat << EOF
+libcg aims to provide programmers easily usable APIs to use the control 
+group file system. It should satisfy the following requirements: 
+ - Provide a programmable interface for cgroups
+   This should allow applications to create cgroups using something like 
+   create_cgroup() as opposed to having to go the whole filesystem route. 
+ - Provide persistent configuration across reboots
+   Control Groups have a lifetime of only one boot cycle. The configuration 
+   is lost at reboot. Userspace needs to handle this issue. 
+   This is handled by libcg. 
+ - Provide a programmable interface for manipulating configurations
+   This should allow libcg to handle changing application requirements. 
+   For example, while gaming, you might want to reduce the cpu power of other 
+   groups whereas othertimes you would want greater CPU power for those groups.
+EOF


More information about the Lunar-commits mailing list