≡ Menu

xm command

Quick Tip: Send Ctr + Alt + Del to XEN Vps / Guest os

If you hit CTRL+ALT+Delete your host will go down under CentOS Linux 5.x. The solution is hit CTRL key thrice. Now it will disable CTRL+ALT+Del for host. Next just hit alt+del to complete guest CTRL+ALT+Del cycle.

Alternatively, you can type the following on host to shutdown vps:
xm shutdown myGuestVpsOsName

XEN Server Status Monitoring Command Cheat Sheet

The xm command is the main command line interface for managing Xen guest domains. The program can be used to create, pause, and shutdown domains. It can also be used to list current domains, enable or pin VCPUs, and attach or detach virtual block devices.

Please note that before running any one of the following command you must run xend ( Xen control daemon aka service) and must be run as privileged user. Running xm command as non root will return an error.

I hope following XEN status monitoring cheat sheet will save your time.
[click to continue…]