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

Re: [Xen-users] 'xm top' usage

On Friday 21 October 2005 06:56, AMIT KUMAR wrote:
>   hi,
>               'xm top' doesn't seem to work in Xen-2.0.7 . Can anyone
> suggest about whether this is the right version or  other counter part of 
> 'xm top' ?  I need to monitor the cpu usage of guestOS and migrate if usage
> exceeds a defined  limit. Also , can these which APIs (or function calls) 
> be called in a program to automate this process of monitoring and
> migrating?

Well, you could watch the CPU Time spent from xm list, and use that to 
determine load. And since "xm" is written in python, you most likely can take 
that apart and use its internal classes directly.

/Ernst

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

<Prev in Thread] Current Thread [Next in Thread>