a public resource for all things web hosting, systems administration, and dedicated server management.

Common Xen commands

The commands below can be used to create VM guests, check status of guests, shutdown guests, etc. These are considered some of the commonly used Xen commands.

xm create

The create sub command requires a configfile and can optionally take a series of name value pairs that add to or override variables defined in the config file. See xmdomain.cfg for full details of that file format, and possible options used in either the configfile or Name=Value combinations.

xm info

Print information about the Xen host in name: value format.

xm list

Prints information about one or more VMs. If no VMs are specified it prints out information about all domains.

xm shutdown

Gracefully shuts down a VM. This coordinates with the VM OS to perform graceful shutdown, so there is no guarantee that it will succeed, and may take a variable length of time depending on what services must be shutdown in the domain. The command returns immediately after signalling the VM unless that -w flag is used.

xm uptime

Displays uptime for the VM specified

xm reboot

Performs a reboot of the VM specified


Did did you find this article useful? Then See also articles on: Web hosting support, dedicated server administration and useful hosting tools