Check your user beancounters in OpenVZ

Knowing if you adjusted your user beancounters in OpenVZ right can be quite difficult. The OpenVZ wiki has a great article about the systemwide UBC configuration but I takes a bit of effort to calculate all of them, and over again when you’ve adjusted them. So I made a simple script that checks the systemwide UBC parameters of all running containers (VPS). You can find detailed information about the results in article;

If you need any help or think that something is wrong with the script please drop a line in the comments. Thank you!

This script has to be run on the hardwarenode itself.

About Esmé