vserver

Langue: en

Version: 66563 (mandriva - 22/10/07)

Autres sections - même nom

Section: 8 (Commandes administrateur)

NAME

vserver - The vserver utility enables you to control different aspects of your vservers.

SYNTAX

vserver [ options ] [vserver name] [options]

DESCRIPTION

vserver - The vserver utility enables you to control different aspects of your vservers, such as stopping and starting them, and services within them.

OPTIONS

build Create a virtual server by copying the packages of the root server
enter Enter in the virtual server context and starts a shell. Same as "vserver name exec /bin/sh
exec Exec a command in the virtual server context as root.
syntax: vserver name exec command ...
suexec Exec a command in the virtual server context under some user id.
syntax: vserver name suexec userid command ...
service Control a service inside a vserver.
syntax: vserver name service service-name (start/stop/restart etc.)
start Starts the various services in the vserver.
It uses the default runlevel found in the /etc/inittab file of the vserver.
stop Ends all services and kills the remaining processes.
running Tells if a virtual server is running. It returns proper exit code, so you can use it as a test.
status Tells various information about the state of a virtual server:
running status, number of running processes and uptime.
--nodev
do not configure the IP devices associated with the vserver. This is useful to execute some commands on the vserver (or enter it) without making it active on the network. Especially useful if you have an active copy of the vserver moved to another server on the network.
--silent
cuts most informative messages.

FILES

/usr/sbin/vserver

/etc/vservers/*.conf

/etc/vservers/*.sh

/vservers/*

EXAMPLES

Please contribute some, if you feel it's important.

AUTHORS

This Man page was written by Klavs Klavsen <kl@vsen.dk> and based upon the helpful output from the program itself and the documentation on the Virtual Server site <http://www.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&nodoc=0>

SEE ALSO

chbind(8) chcontext(8) newvserver(8) rebootmgr(8) reducecap(8) vps(8) vpstree(8) vrpm(8) vserver-stat(8) vtop(8)