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.
Displays uptime for a domain
xm uptime
Monitors a host and its domains in real time
xm top
Displays domain information
xm list
Displays host information
xm info
Lists domain virtual processors
xm vcpu-list
Lists domain virtual network interfaces
xm network-list
Displays node information
virsh nodeinfo
Displays domain virtual processor information
virsh vcpuinfo
Displays the xend log
xm log
Displays domain information
virsh dominfo
Reads the xend daemon’s message buffer just like dmesg
xm dmesg
Further readings
=> Read xm and virsh command man page.
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or full RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in...
- Execute Commands on Multiple Linux or UNIX Servers
- Linux MySQL server monitoring
- Monitor Bandwidth with iptables
- How To Track Changes in Your Linux Filesystem
- Download of the day: AutoScan Network Monitoring - Management Tool
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: command line interface, domain information, error displays, log displays, monitor xen vps, network interfaces, privileged user, virtual processors, xen, xm_command ~ Last updated on: November 15, 2007



More xen management commands can be found at http://unixfoo.blogspot.com/2007/11/managing-xen.html
- http://unixfoo.blogspot.com
Hi,
Some basic commands from me also :-
1. Create a node
xm create xyz.com -c
2. Switch to the node
xm console xyz.com
3. destroy node
xm destroy xyz.com