Open main menu

OpenVZ Virtuozzo Containers Wiki β

Editing Man/vzsplit.8

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 2: Line 2:
  
 
<p style="margin-left:11%; margin-top: 1em">vzsplit &minus;
 
<p style="margin-left:11%; margin-top: 1em">vzsplit &minus;
generate a sample container configuration file</p>
+
generate a sample container configuration file with a
 +
certain set of system resource control parameters.</p>
  
 
== SYNOPSIS ==
 
== SYNOPSIS ==
  
<table width="100%" border="0" rules="none" frame="void"
+
<p style="margin-left:11%; margin-top: 1em">vzsplit
      cellspacing="0" cellpadding="0">
+
[<b>-n</b> <i>numve</i>] [<b>-f</b> <i>conf_name</i>]
<tr valign="top" align="left">
+
[<b>-s</b> <i>swapsize</i>]</p>
<td width="11%"></td>
 
<td width="11%">
 
 
 
<p style="margin-top: 1em"><b>vzsplit</b></p></td>
 
<td width="1%"></td>
 
<td width="77%">
 
 
 
<p style="margin-top: 1em">[<b>-n&nbsp;</b><i>numve</i>]
 
[<b>-f&nbsp;</b><i>conf_name</i>]
 
[<b>-s&nbsp;</b><i>swapsize</i>]
 
[<b>-v&nbsp;yes</b>|<b>no</b>]</p> </td></tr>
 
</table>
 
  
 
== DESCRIPTION ==
 
== DESCRIPTION ==
Line 32: Line 21:
 
containers the Hardware Node shall be able to run even if
 
containers the Hardware Node shall be able to run even if
 
the given number of containers consume all the resources
 
the given number of containers consume all the resources
available.</p>
+
available. Without any option given, <b>vzsplit</b> prompts
 
+
for the desired number of containers and outputs the
<p style="margin-left:11%; margin-top: 1em">Without any
+
resulting resource control parameters to stdout. If there
option given, <b>vzsplit</b> prompts for the desired number
+
are not enough system resources to run the specified number
of containers and outputs the resulting resource control
+
of containers, an appropriate message is shown and the
parameters to stdout.</p>
+
sample configuration file is not generated.</p>
 
 
<p style="margin-left:11%; margin-top: 1em">If there are
 
not enough system resources to run the specified number of
 
containers, an appropriate message is shown and the sample
 
configuration file is not generated.</p>
 
  
 
== OPTIONS ==
 
== OPTIONS ==
  
<p style="margin-left:11%; margin-top: 1em"><b>-n&nbsp;</b><i>numve</i></p>
+
<p style="margin-left:11%; margin-top: 1em"><b>-n</b>
 +
<i>numve</i></p>
  
 
<p style="margin-left:22%;">Specify the number of
 
<p style="margin-left:22%;">Specify the number of
 
containers.</p>
 
containers.</p>
  
<p style="margin-left:11%;"><b>-f&nbsp;</b><i>conf_name</i></p>
+
<p style="margin-left:11%;"><b>-f</b> <i>conf_name</i></p>
  
<p style="margin-left:22%;">Specify the configuration
+
<p style="margin-left:22%;">Specify the configuration file
sample name to write configuration to, instead of standard
+
name. The program output is placed to
output. The file created will be named
 
 
/etc/vz/conf/ve-<i>conf_name</i>.conf-sample.</p>
 
/etc/vz/conf/ve-<i>conf_name</i>.conf-sample.</p>
  
<p style="margin-left:11%;"><b>-s&nbsp;</b><i>swapsize</i></p>
+
<p style="margin-left:11%;"><b>-s</b> <i>swapsize</i></p>
  
 
<p style="margin-left:22%;">Specify the swap size in
 
<p style="margin-left:22%;">Specify the swap size in
Kbytes. If this option is not given, the swap size is read
+
Kbytes. If not provided in the option, the swap size will be
from <b>/proc/meminfo</b>.</p>
+
read from /proc/meminfo.</p>
 
 
<p style="margin-left:11%;"><b>-v&nbsp;yes</b>|<b>no</b></p>
 
 
 
<p style="margin-left:22%;">Whether to generate VSwap
 
enabled configuration. Default is auto-detect by checking if
 
running kernel is VSwap capable; this option overrides
 
auto-detection.</p>
 
  
== EXIT STATUS ==
+
== DIAGNOSTICS ==
  
 
<p style="margin-left:11%; margin-top: 1em"><b>vzsplit</b>
 
<p style="margin-left:11%; margin-top: 1em"><b>vzsplit</b>
Line 84: Line 61:
  
 
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
 
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
2000-2011, Parallels, Inc. Licensed under GNU GPL.</p>
+
2000-2010, Parallels, Inc. Licensed under GNU GPL.</p>

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)