Softwares ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Main /
VzctlCommandsEXAMPLES To create and start "basic" VE with ID of 1000, using fedora-core-5 OS template, and IP address of FILES /etc/vz/vz.conf SEE ALSO Log file : LOGFILE=/var/log/vzctl.log [root@server1 vz-scripts]# vzctl status 202 VEID 202 exist mounted running [root@server1 vz-scripts]# vzctl status 201 VEID 201 deleted unmounted down [root@server1 vz-scripts]# vzctl --help vzctl version 3.0.16 Copyright (C) 2000-2007 SWsoft. This program may be distributed under the terms of the GNU GPL License.
[--private <path>] [--root <path>] [--ipadd <addr>] | [--hostname <name>] vzctl start <veid> [--force] [--wait] vzctl exec | exec2 <veid> <command> [arg ...] vzctl runscript <veid> <script> vzctl chkpnt <veid> [--dumpfile <name>] vzctl restore <veid> [--dumpfile <name>] vzctl set veid [--save] [--setmode restart|ignore] [--ipadd <addr>] [--ipdel <addr>|all] [--hostname <name>] [--nameserver <addr>] [--searchdomain <name>] [--onboot yes|no] [--userpasswd <user>:<passwd>] [--cpuunits <N>] [--cpulimit <N>] [--cpus <N>] [--diskspace <soft>[:<hard>]] [--diskinodes <soft>[:<hard>]] [--quotatime <N>] [--quotaugidlimit <N>] [--noatime yes|no] [--capability <name>:on|off ...] [--devices b|c:major:minor|all:r|w|rw] [--devnodes device:r|w|rw|none] [--netif_add <ifname[,mac,host_ifname,host_mac]]>] [--netif_del <ifname>] [--applyconfig <name>] [--applyconfig_map <name>] [--features <name:on|off>] [--name <vename>] [--ioprio <N>] [--iptables <name>] [--disabled <yes|no>] [UBC parameters] UBC parameters (N - items, P - pages, B - bytes): Two numbers divided by colon means barrier:limit. In case the limit is not given it is set to the same value as the barrier. --numproc N[:N] --numtcpsock N[:N] --numothersock N[:N] --vmguarpages P[:P] --kmemsize B[:B] --tcpsndbuf B[:B] --tcprcvbuf B[:B] --othersockbuf B[:B] --dgramrcvbuf B[:B] --oomguarpages P[:P] --lockedpages P[:P] --privvmpages P[:P] --shmpages P[:P] --numfile N[:N] --numflock N[:N] --numpty N[:N] --numsiginfo N[:N] --dcachesize N[:N] --numiptent N[:N] --physpages P[:P] --avnumproc N[:N] |