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!




Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: