Monitoring /proc/user_beancounters with email

From OpenVZ Virtuozzo Containers Wiki
Revision as of 10:39, 13 August 2008 by Mgual (talk | contribs)
Jump to: navigation, search

To be added locally on the VZ HN to /etc/crontab to script resource.sh



<source lang=shell>

  1. !/bin/bash
  2. Copyright (C) 2008 Mgual
  3. Distributed under GNU General Public License v3
  4. v0.2 2008-04-04
  5. Christian Benke <benkokakao gmail com>

import string import pickle import sys import getopt import re

veid= current_data=dict()