SYNOPSIS
- vzsplit [-n numve] [-f conf_name] [-s swapsize] [-v yes|no]
DESCRIPTION
Without any option given, vzsplit prompts for the desired number of containers and outputs the resulting resource control parameters to stdout.
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.
OPTIONS
- -n numve
- Specify the number of containers.
- -f conf_name
- Specify the configuration sample name to write configuration to, instead of standard output. The file created will be named /etc/vz/conf/ve-conf_name.conf-sample.
- -s swapsize
- Specify the swap size in Kbytes. If this option is not given, the swap size is read from /proc/meminfo.
- -v yes|no
- Whether to generate VSwap enabled configuration. Default is auto-detect by checking if running kernel is VSwap capable; this option overrides auto-detection.
EXIT STATUS
vzsplit returns 0 upon a successful execution. If anything goes wrong, it returns 1.LICENSE
Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL.