blob: c79ad2674e06033613b3020378e1ce5e970328c5 [file] [log] [blame] [raw]
.TH vzcfgvalidate 8 "18 Mar 2012" "OpenVZ" "Containers"
.SH NAME
vzcfgvalidate \- validate a container configuration file
.SH SYNOPSIS
.SY vzcfgvalidate
.OP -r
.OP -i
.RB [ -v\ yes | no ]
.I configfile
.YS
.SH DESCRIPTION
This utility checks validity of resource control parameters in a container
configuration file \fIconfigfile\fR. 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.
.SH OPTIONS
.TP
.B \-r
Repair mode (corrects \fIconfigfile\fR).
.TP
.B \-i
Interactive repair mode.
.TP
.BR -v\ yes | no
Whether to treat \fIconfigfile\fR as VSwap enabled configuration.
Default is auto-detect by checking if physpages.limit is not set to unlimited;
this option overrides the auto-detection.
.SH EXIT STATUS
Normally, exit status is 0. On program execution error, exit status is 1.
If the validation fails, exit status is 2.
.SH SEE ALSO
.BR ctid.conf (5),
.BR http://wiki.openvz.org/UBC_consistency_check .
.SH LICENSE
Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL.