blob: 70aed18913ccd0cfde499a0d14b8dbfcfdc48ec8 [file] [log] [blame] [view] [raw]
.TH vzcfgvalidate 8 "28 Jun 2011" "OpenVZ" "Containers"
.SH NAME
vzcfgvalidate \- validate a container configuration file
.SH SYNOPSIS
.SY vzcfgvalidate
.OP -r
.OP -i
.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.
.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.