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

StarryDNS 1GB RAM Hong Kong 100M Bandwidth KVM VPS Review

Details : StarryDNS: $7/month/1GB memory/20GB spa...

Extmedia: $15/month/512MB RAM/5GB SSD space/30GB bandwidth/KVM/Belarus

Extmedia, a long-established hosting provider in ...

ABStation: £2.5/month/1GB memory/10GB SSD space/500GB traffic/KVM/UK

ABStation, a British merchant, was established in...

HostMyBytes: $9/year/512MB memory/10GB space/1TB bandwidth/KVM/Los Angeles

HostMyBytes is a Canadian hosting company founded...