Polls

Topics

XEN Server Status Monitoring Command Cheat Sheet

Posted by Vivek on Thursday November 15, 07 @6:13 pm

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...

Discussion on This Article:

  1. unixfoo Says:

    More xen management commands can be found at http://unixfoo.blogspot.com/2007/11/managing-xen.html

    - http://unixfoo.blogspot.com

  2. Surekha Says:

    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

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!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Tags: , , , , , , , , , ~ Last updated on: November 15, 2007

Copyright © 2004-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.