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