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 − | <p style="margin-left:11%; margin-top: 1em">vzsplit − | ||
− | 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 == | ||
− | + | <p style="margin-left:11%; margin-top: 1em">vzsplit | |
− | + | [<b>-n</b> <i>numve</i>] [<b>-f</b> <i>conf_name</i>] | |
− | + | [<b>-s</b> <i>swapsize</i>]</p> | |
− | |||
− | |||
− | |||
− | <p style="margin- | ||
− | |||
− | |||
− | |||
− | |||
− | [<b>-f | ||
− | [<b>-s | ||
− | |||
− | |||
== 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. | + | available. Without any option given, <b>vzsplit</b> prompts |
− | + | for the desired number of containers and outputs the | |
− | + | 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. | + | sample configuration file is not generated.</p> |
− | |||
− | |||
− | 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 | + | <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 | + | <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 |
− | + | name. The program output is placed to | |
− | |||
/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 | + | <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 | + | Kbytes. If not provided in the option, the swap size will be |
− | from | + | read from /proc/meminfo.</p> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == | + | == 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- | + | 2000-2010, Parallels, Inc. Licensed under GNU GPL.</p> |