Difference between revisions of "Man/vzcfgvalidate.8"
(beta version of man2wiki man page (work in progress!)) |
Botinki Kira (talk | contribs) (Automated import of articles *** existing text overwritten ***) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
== SYNOPSIS == | == SYNOPSIS == | ||
− | <p style="margin- | + | <table width="100%" border="0" rules="none" frame="void" |
− | [<b>-r</b> | + | 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 yes</b>|<b>no</b>] <i>configfile</i></p></td> | ||
+ | <td width="18%"> | ||
+ | </td></tr> | ||
+ | </table> | ||
+ | |||
+ | == DESCRIPTION == | ||
+ | |||
+ | <p style="margin-left:11%; margin-top: 1em">This utility | ||
+ | checks validity of resource control parameters in a | ||
+ | container configuration file <i>configfile</i>. Some of the | ||
+ | User Beancounter parameters have interdependencies, and if | ||
+ | those are not met, configuration is inconsistent. The | ||
+ | utility finds and reports such inconsistencies.</p> | ||
+ | |||
+ | <p style="margin-left:11%; margin-top: 1em">There are three | ||
+ | severity levels in the output: Error, Warning, and | ||
+ | Recommendation.</p> | ||
== OPTIONS == | == OPTIONS == | ||
Line 17: | Line 43: | ||
<td width="3%"> | <td width="3%"> | ||
− | <p style="margin-top: 1em" | + | <p style="margin-top: 1em"><b>−r</b></p></td> |
<td width="8%"></td> | <td width="8%"></td> | ||
− | <td width=" | + | <td width="52%"> |
− | <p style="margin-top: 1em">Repair mode.</p></td> | + | <p style="margin-top: 1em">Repair mode (corrects |
− | <td width=" | + | <i>configfile</i>).</p> </td> |
+ | <td width="26%"> | ||
</td></tr> | </td></tr> | ||
<tr valign="top" align="left"> | <tr valign="top" align="left"> | ||
Line 28: | Line 55: | ||
<td width="3%"> | <td width="3%"> | ||
− | <p><b> | + | <p><b>−i</b></p></td> |
<td width="8%"></td> | <td width="8%"></td> | ||
− | <td width=" | + | <td width="52%"> |
<p>Interactive repair mode.</p></td> | <p>Interactive repair mode.</p></td> | ||
− | <td width=" | + | <td width="26%"> |
</td></tr> | </td></tr> | ||
</table> | </table> | ||
− | = | + | <p style="margin-left:11%;"><b>-v yes</b>|<b>no</b></p> |
− | <p style="margin-left: | + | <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 == |
<p style="margin-left:11%; margin-top: 1em">Normally, exit | <p style="margin-left:11%; margin-top: 1em">Normally, exit | ||
status is 0. On program execution error, exit status is 1. | status is 0. On program execution error, exit status is 1. | ||
− | If validation | + | If the validation fails, exit status is 2.</p> |
== SEE ALSO == | == SEE ALSO == | ||
Line 64: | Line 85: | ||
<p style="margin-left:11%; margin-top: 1em">Copyright (C) | <p style="margin-left:11%; margin-top: 1em">Copyright (C) | ||
− | 2000- | + | 2000-2011, Parallels, Inc. Licensed under GNU GPL.</p> |
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.