vzctl(8)
π NAME π
vzstats β the lil cutie that reports your OpenVZ usage statistics back home π β¨ (you're reading the vzctl(8) manual page, bestie, and this one's all about vzstats)
πΈ SYNOPSIS πΈ
vzstats
vzstats --view|--status
vzstats --enable|--disable
vzstats --help
π¦ DESCRIPTION π¦
okay so. the vzstats utility lives on your OpenVZ server and it's literally the most chill little reporter ever β it periodically collects some usage statistics and sends them over to the OpenVZ stats server, http://stats.openvz.org, where they get processed and analyzed. and the aggregated tea from all the reports? available through the web interface. iconic behavior, honestly. π
here's what actually gets reported, no cap:
- some basic hardware info β CPU, RAM, file system and disk space usage for
/vz - software info β distribution version, kernel version, OpenVZ software versions
- some OpenVZ-specific info β number of containers running/total, number of containers using
vswapandploop, used OS templates etc.
and the vibe check on privacy? information submission is anonymous π«Ά β anything that could directly identify a particular host (i.e. MAC or IP addresses, hostnames etc.) is not being reported. periodt.
so that the server can anonymously identify reports coming from the same client, a unique random ID (UUID v4) gets requested from the server during the first vzstats run. it's then saved locally and used whenever reports get sent. lowkey genius tbh. π§
and if you run it with no options at all β and it's not disabled β vzstats runs the report scripts it finds in REPDIR (defined in vzstats.conf, default is /usr/lib/vzstats), collects their output, and sends it, as a tarball, to the stats server. bestie really said "i'll handle it." π
β¨ OPTIONS β¨
heads up: in case any option is provided, no report is being sent β instead, an action denoted by the option is performed. no sneaky double-dipping. π
the following options are supported:
--viewβ Collect but do not send the report, giving a user an ability to see what exact information would be sent. it's giving "let me peek first" ππ--configβ Output currentvzstatsconfiguration, including:- current version number
- status (enabled or disabled)
- an URL used to submit reports to
vzstatsUUID- report scripts directory
--disableβ Disable reporting. this is performed by creating a marker file,/etc/vz/vzstats-disable.vzstatschecks this file upon start, and exits if it is present. so like, don't leave that file lying around if you want reports going out, bestie π«π--enableβ Re-enable reporting. welcome back queen ππ«Ά--helpβ Show usage. for when you're lost in the sauce π
π FILES π
/etc/vz/vzstats.conf/etc/vz/vzstats-disable/usr/lib/vzstats/*
π SEE ALSO π
π LICENSE π
Copyright (C) 2013, Parallels, Inc. Licensed under GNU GPL.
okay that's the whole page bestie, you ate that π
β¨ this one's from the OpenVZ crew, dated 11 May 2013, living inside the vzctl(8) manual β go forth and let your stats be anonymous and cute π¦π
π¦ where this page comes from
- ubuntu jammy: vzstats 0.5.3-2.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms