Man/vzcfgvalidate.8

From OpenVZ Virtuozzo Containers Wiki
< Man
Revision as of 22:20, 13 January 2012 by Botinki Kira (talk | contribs) (Automated import of articles *** existing text overwritten ***)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

NAME[edit]

vzcfgvalidate − validate a container configuration file

SYNOPSIS[edit]

vzcfgvalidate

[-r] [-i] [-v yes|no] configfile

DESCRIPTION[edit]

This utility checks validity of resource control parameters in a container configuration file configfile. Some of the User Beancounter parameters have interdependencies, and if those are not met, configuration is inconsistent. The utility finds and reports such inconsistencies.

There are three severity levels in the output: Error, Warning, and Recommendation.

OPTIONS[edit]

−r

Repair mode (corrects configfile).

−i

Interactive repair mode.

-v yes|no

Whether to treat configfile as VSwap enabled configuration. Default is auto-detect by checking if physpages.limit is not set to unlimited; this option overrides the auto-detection.

EXIT STATUS[edit]

Normally, exit status is 0. On program execution error, exit status is 1. If the validation fails, exit status is 2.

SEE ALSO[edit]

ctid.conf(5), UBC_consistency_check.

LICENSE[edit]

Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL.