Changes

Jump to: navigation, search

Setting UBC parameters

150 bytes added, 23:01, 5 December 2013
Are you aware of a script that would run as a cron job and do the OOM math on a regular basis and email me if I've hit the red zone or maybe at 85-90%?
#!/bin/bash
# Openvz Containers Memory Status
# Version 0.91
# Reference: http://wiki.openvz.org/Setting_UBC_parameters
# 4) Use the same same order of vzlist output.
# 5) Problems on vzid param mistakes fixed.
# 6) Fixed when 0 passed by param an error appear
# The usage of this script is easy.
echo "Container out of range, please try a number between 1 and "$n
exit
elif let "vm_param==0";then
echo "This value is not available, value must be higher than 0"
exit
fi

Navigation menu