|
|
|
|
|
|
|
|
|
|
xen-api
Re: [Xen-API] Strange CPU utilization values of Dom0
Would u please elaborate this with help of example...? I haven't understood what did u exactly mean to say...
--- On Sat, 21/2/09, Stefan de Konink <stefan@xxxxxxxxx> wrote:
From: Stefan de Konink <stefan@xxxxxxxxx> Subject: Re: [Xen-API] Strange CPU utilization values of Dom0 To: "kushal waikar"
<kushalwaikar@xxxxxxxxxxx> Cc: xen-api@xxxxxxxxxxxxxxxxxxx Date: Saturday, 21 February, 2009, 1:28 AM
kushal waikar wrote: > Hi, > I am trying to fetch CPU utilization of Dom0 using XenAPI & Python...I am not getting any error in my code...But Whatever CPU utilization I am getting from my Dom0 is having value less than one... But actual CPU utilization seen under Virtual Machine Manager is in range of 1 to 100...It never exceeds 100 since it is percentage... If I multiply the values getting here by 100 then sometimes my CPU utilization is exceeding above 100, which is impossible practically (remember it is %age thts it should be <=100)... > > My questions are--> > > 1. What kind of manipulation should be carried out on the vales obtained through my code to get the correct CPU utilization of Dom0....? > 2. Any other way to get correct values
?
The CPU utilalisation is time spend in the dom / total time between sample interval.
So if you measure every 5 seconds your calculation would be:
this sample - previous sample ----------------------------- 5 * 1000
Stefan
|
Add more friends to your messenger and enjoy! Invite them now.
|
Connect with friends all over the world. Get Yahoo! India Messenger._______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|
|
|
|
|