Difference between revisions of "Special:Badtitle/NS1198:Vzstats/23/en"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(Created page with "При запуске vzstats делает следующее: # проверяет выделен ли ему уже UUID; запрашивает выдачу одного у...")
 
 
Line 1: Line 1:
При запуске vzstats делает следующее:
+
When vzstats is executed, it does the following:
# проверяет выделен ли ему уже UUID; запрашивает выдачу одного у сервера, если не выделан;
+
# checks if UUID is obtained; asks the server for one if it's not;
# запускает скрипты из директории <code>/usr/libexec/vzstats</code>;
+
# runs scripts from <code>/usr/libexec/vzstats</code> directory;
# собирает их вывод в отдельные файлы, по одному файлу на скрипт;
+
# collects their output into separate text files, one per script;
# создает tar архив из всех этих файлов;
+
# creates a tarball with all these text files
# отправляет этот tar архив с UUID на сервер статистики - stats.openvz.org
+
# sends this tarball together with UUID to the stats server, stats.openvz.org

Latest revision as of 16:53, 4 January 2016

When vzstats is executed, it does the following:

  1. checks if UUID is obtained; asks the server for one if it's not;
  2. runs scripts from /usr/libexec/vzstats directory;
  3. collects their output into separate text files, one per script;
  4. creates a tarball with all these text files
  5. sends this tarball together with UUID to the stats server, stats.openvz.org