OpenVZ VPS memory analysis tool/overbooking check script

OpenVZ VPS memory analysis tool/overbooking check script

A python script to check the memory status of OpenVZ VPS. The raw data is taken from the /proc/user_beancounters file. The script does a simple data analysis, extraction and visualization.
Use as follows:
wget https://github.com/snooda/openvz_checker/blob/master/vz_checker.py
python vz_checker.py /proc/user_beancounters
Parameter Description:

 Kernel Mem Info: The size of kernel memory used. It cannot be swapped and is mainly used to store process data.
Mem already allocated Info: the allocated memory size. The limit is the burst memory size.
Ram actually used: The actual amount of physical memory used.
Mem (Ram + swap) used: Occupied physical memory and swap size.
If the actual occupied physical memory == the occupied physical memory and swap size, then congratulations, all the programs running in your vps are in memory and the host is not seriously oversold.
If the actual occupied physical memory < occupied physical memory and swap size, the situation is not good. The host has started to occupy swap and the overselling is serious.

Strange, failed on both ds and crissic.
via: http://www.snooda.com/read/263

<<:  BLUEVM OpenVZ VPS Super Deals

>>:  YZPanel: Chinese VPS Control Panel

Recommend

Yiyun 1.8GB RAM 3Mbps Hong Kong Xen VPS Review

Configuration: CPU: 2 CPUs, Memory: 1792 M, Hard ...

Tips on Google Adsense Ad Placement

Advertising is a science. Even the location of th...

DeinServerHost: €3.95/month/1GB memory/300GB space/2TB traffic/Windows/Germany

DeinServerHost, a German hosting provider, was es...

Xoom.it Italy's old stable free PHP space

Xoom.it is an old free hosting company from Italy...

DoHost.us latest discount code

DoHost.us has been providing stable services for ...

$2.95/month/25G space/250G traffic/virtual host: HOST1PLUS

About HOST1PLUS HOST1PLUS is a British hosting co...