Linux Container

LXC Monitoring

Submitted by lennart on Mon, 07/11/2011 - 23:06

LXC Monitoring collects cpu and memory statistics for several Linux Containers, and creates pretty charts with it. Although it is intended for LXC containers, it can be used to monitor any type of cgroup. Optionally it can be configured to send a daily/weekly/... mail with those charts.

There are 2 python script to do the job. The data poller script will read data from the /cgroup partition at regular intervals and stores the data in an sqlite dbfile. Then 2nd script, create_charts.py, combines the collected data into a nice chart, and send me a mail with them.

LXC installation on Ubuntu Server 11.04

Submitted by lennart on Thu, 06/30/2011 - 20:48

"LinuX Containers (LXC) provide lightweight virtualization that lets you isolate processes and resources without the need to provide instruction interpretation mechanisms and other complexities of full virtualization."

In this tutorial I provide step by step instructions to install LXC on an Ubuntu Natty server.

Basic *nix knowledge is assumed though.

Subscribe to RSS - Linux Container