Novell SUSE LINUX ENTERPRISE DESKTOP 11 SP1 - 8-18-2010 VIRTUALIZATION WITH ZEN Manual page 49

Virtualization with xen
Table of Contents

Advertisement

For a complete list of the available xm commands, run xm help. For each command,
there is a more detailed help available that is obtained with the extra parameter --help.
More information about the respective subcommands is available in the manual page
of xm.
For example, the xm list --help displays all options that are available to the list
command. As an example, the xm list command displays the status of all virtual
machines.
# xm list
Name
Domain-0
OES
SLES10
The State information tells if a machine is running, and in which state it is. The most
common flags are r (running) and b (blocked) where blocked means it is either waiting
for IO, or just sleeping because there is nothing to do. For more details about the state
flags, see man 1 xm. The syntax of the xm command usually follows the format:
xm
<subcommand> [domain-id] [OPTIONS]
where subcommand is the xm command to run, domain-id is the ID number assigned
to a domain or the name of the virtual machine, and OPTIONS indicates subcommand-
specific options.
Other useful xm commands include:
• xm start starts a virtual machine
• xm reboot reboots a virtual machine
• xm destroy immediately terminates a virtual machine
• xm block-list displays all virtual block devices attached to a virtual machine
• All xm operations require that the Xen control daemon, Xend, be running. For this
reason, you should make sure Xend starts whenever the host boots.
• Most xm commands require root privileges to allow interaction with the Xen hyper-
visor. Entering the xm command when you are not logged in as root returns an error.
ID
Mem VCPUs
0
457
2
7
512
1
512
1
Managing a Virtualization Environment
State
Time(s)
r-----
2712.9
-b----
16.3
12.9
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise desktop 11 sp1

Table of Contents