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 ***)
 
Line 14: Line 14:
 
<p style="margin-top: 1em"><b>vzcfgvalidate</b></p></td>
 
<p style="margin-top: 1em"><b>vzcfgvalidate</b></p></td>
 
<td width="1%"></td>
 
<td width="1%"></td>
<td width="31%">
+
<td width="50%">
  
 
<p style="margin-top: 1em">[<b>-r</b>] [<b>-i</b>]
 
<p style="margin-top: 1em">[<b>-r</b>] [<b>-i</b>]
<i>configfile</i></p> </td>
+
[<b>-v&nbsp;yes</b>|<b>no</b>] <i>configfile</i></p></td>
<td width="37%">
+
<td width="18%">
 
</td></tr>
 
</td></tr>
 
</table>
 
</table>
Line 63: 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.