Difference between revisions of "Man/vzcfgvalidate.8"

From OpenVZ Virtuozzo Containers Wiki
< Man
Jump to: navigation, search
(Automated import of articles *** existing text overwritten ***)
(Automated import of articles *** existing text overwritten ***)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
== SYNOPSIS ==
 
== SYNOPSIS ==
  
<p style="margin-left:11%; margin-top: 1em">vzcfgvalidate
+
<table width="100%" border="0" rules="none" frame="void"
[<b>-r</b> | <b>-i</b>] <i>configfile</i></p>
+
      cellspacing="0" cellpadding="0">
 +
<tr valign="top" align="left">
 +
<td width="11%"></td>
 +
<td width="20%">
 +
 
 +
<p style="margin-top: 1em"><b>vzcfgvalidate</b></p></td>
 +
<td width="1%"></td>
 +
<td width="50%">
 +
 
 +
<p style="margin-top: 1em">[<b>-r</b>] [<b>-i</b>]
 +
[<b>-v&nbsp;yes</b>|<b>no</b>] <i>configfile</i></p></td>
 +
<td width="18%">
 +
</td></tr>
 +
</table>
  
 
== DESCRIPTION ==
 
== DESCRIPTION ==
Line 30: Line 43:
 
<td width="3%">
 
<td width="3%">
  
<p style="margin-top: 1em"><b>-r</b></p></td>
+
<p style="margin-top: 1em"><b>&minus;r</b></p></td>
 
<td width="8%"></td>
 
<td width="8%"></td>
 
<td width="52%">
 
<td width="52%">
Line 42: Line 55:
 
<td width="3%">
 
<td width="3%">
  
<p><b>-i</b></p></td>
+
<p><b>&minus;i</b></p></td>
 
<td width="8%"></td>
 
<td width="8%"></td>
 
<td width="52%">
 
<td width="52%">
Line 50: Line 63:
 
</td></tr>
 
</td></tr>
 
</table>
 
</table>
 +
 +
<p style="margin-left:11%;"><b>-v&nbsp;yes</b>|<b>no</b></p>
 +
 +
<p style="margin-left:22%;">Whether to treat
 +
<i>configfile</i> as VSwap enabled configuration. Default is
 +
auto-detect by checking if physpages.limit is not set to
 +
unlimited; this option overrides the auto-detection.</p>
  
 
== EXIT STATUS ==
 
== EXIT STATUS ==

Latest revision as of 22:20, 13 January 2012

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.