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/
Home Products Support Community News


[Xen-devel] Re: python frontend for xenstat

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: python frontend for xenstat
From: "Jayesh Salvi" <jayeshsalvi@xxxxxxxxx>
Date: Sat, 15 Apr 2006 12:03:15 -0500
Delivery-date: Sat, 15 Apr 2006 10:03:35 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=lgqnEv7nmC+IGgcVi+k7hurEDla1FTPJRhruGNz8yg2LPgE9zJKo4OwaPWtcTR/QYfsGRXG+tG6dRLBHGVQt0p7zZRBWLIzjjmqsDN/tYtq69gZwIZ//ligM6clg1ADSKhAlNh/uT8hmcP0Ulsi481K4XPacyQBXZ8cDJVgpUBA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <871640aa0604150853wbf9d8fdwe84f328dd5083195@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <871640aa0604150853wbf9d8fdwe84f328dd5083195@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
To answer my own question, I found the bindings directory and the swig targets in Makefile. I could build perl and python bindings from them by doing 'make all-bindings'.

I will have a look at the generated python code and see how I can use it.


On 4/15/06, Jayesh Salvi <jayeshsalvi@xxxxxxxxx> wrote:

I see that xenstat (lib and xentop) code is all written in C. Is there python front-end available for this library or is anyone working on the same?

It would be great to have one, because that can be first step to building distributed access to xenstat (I see this mentioned in 'To think about' in TODO).

If no one is working on it I can give it a shot. I saw two instances in xen source tree, that pull data from low level C code up to python scripts:
1. The way xend interacts with lowlevel xc.c
2. Xenmon and Xenbaked - through a scratch file created on disk.

First approach looks more efficient even though slightly more difficult.

Let me know if anyone has any plans on these lines.

Everything you can imagine is real

Everything you can imagine is real
Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>