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? Thanks and Regards, Amit Kumar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com http://lists.xensource.com/xen-users
AMIT KUMAR wrote:> ''xm top'' doesn''t seem to work in Xen-2.0.7 . Can anyone > suggest about whether this is the right version"xm top" is a 3.0 command. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users