vzsplit - utility to generate VPS config file.
vzsplit [-n numvps] [-f conf_name] [-s
swapsize]
Utility vzsplit is used for division Hardware Node on equal parts. It
generates VPS config file on the basis of total physical memory and the number
of VPS will be running. if any option is not specified the total number of VPS
will be asked and output printed to stdout.
If there is not enough system resources to run specified number of
VPS, an appropriate message is shown and config is not generated.
- -n numvps
- Specified number of VPS.
- -f conf_name
- Specified config name. The program output will be placed to
/etc/sysconfig/vz-scripts/ve-conf_name.conf-sample.
- -s swapsize
- Specified swap size in Kbytes. If not given swap size will be read from
/proc/meminfo.
vzsplit returns 0 upon successful execution. If something goes wrong, it
returns with 1.
Copyright (C) 2000-2005, SWsoft. Licensed under QPL.