You may know that I really like LXC and the major problem when you want to use that solution in production is: how do you monitor memory and CPU?
Regarding the CPU side, I do not have an easy answer for the moment :-(. However regarding the memory, I’ve made a Nagios/Naemon check which will check the memory (RAM) and SWAP of a container. Here is how to use it:
