WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] What is the best way to determine a domU is running?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] What is the best way to determine a domU is running?
From: Dominik Klein <dk@xxxxxxxxxxxxxxxx>
Date: Wed, 08 Aug 2007 09:13:35 +0200
Delivery-date: Wed, 08 Aug 2007 00:11:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (X11/20070403)
Hi

I need a healthcheck for my domU.

Of course I could go "xm list|grep $dom" but that is pretty ugly. I could also ping my domain's IP but that tells me nothing about its state as a Xen domain.

So what is the suggested way to determine the domain status correctly?

Regards
Dominik

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users