6,534
edits
Changes
Vzstats
,link to vzstats sources
# creates a tarball with all these text files
# sends this tarball together with UUID to the stats server, stats.openvz.org
=== Where can I see client source code? ===
Client is written in shell, so just check /usr/sbin/vzstats script.
There is a git repository for client code, see http://git.openvz.org/?p=vzstats;a=summary
=== What is UUID? ===
vzstats run in the following cases
* Upon installation, if OpenVZ is already installed on the system
<!-- NOT IMPLEMENTED YET * During system boot, if OpenVZ is started (from vz initscript)-->
* When any of OpenVZ packages are updated (vzctl, vzquota, ploop, kernel)
* Periodically, once a month, from cron, if crond is running.