libcgroup in Ubuntu Karmic
October 13, 2009
Earlier in the Karmic cycle, I worked with Jon Bernard to sponsor his packaging of libcgroup, an open source library from IBM that provides tools for controlling and monitoring control groups.
In this post, Jon teaches you how to use libcgroup to your advantage. He has a work station that is his primary desktop, but also running Apache2, as well as a valid system user named kirkland that’s chewing up his CPU cycles. Jon’s solution is to put kirkland and all processes created by that yahoo into his own cgroup, and only receive CPU cycles when no other processes are in need. While this is a simple, silly demonstration, Ubuntu Server administrators should find this feature useful in Ubuntu 9.10!