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

[Xen-devel] What is the standard procedure for CPU usage calculation for

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] What is the standard procedure for CPU usage calculation for "Two" Core Dom0..?
From: kushal waikar <kushalwaikar@xxxxxxxxxxx>
Date: Wed, 25 Feb 2009 20:15:35 +0530 (IST)
Delivery-date: Wed, 25 Feb 2009 06:46:04 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1235573135; bh=YunfFs4pLiF92eeZT98B9RG0bbg3mWpfBcxhn+AHa6w=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=W2nSBHOy3xAkZreQynlYyAs+MzbIHhzOZXiQYwq/SNqEQ4IVluR6v4qUtCQDx2i89jW4ejScnqvSIWDugs0g59Sz7lXQt4iFPlLgpmS3DKCOBUFq21cqNUXnU/hU9LZL+nrrmlQmNhp3KytW4zDHeSuxe6PzYULtVWehbrrtFso=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=qJx8hO+8bVkgtTyEP6WYsjqxsSobE9ScKZnfBwUG+vtQR66D2I26GQTBppwc0phC+CeuxENeuCraTAFAY4z5da6pQ4a80t4oqRyNFHj6WC6VUlMVQZeB8i+hLgSzzpPgENGB6xM3Q+aRQZB1IsKqnnYjQ2UFPSafIb01Sd1gGCY=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: kushalwaikar@xxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
    I am using "XenAPI -1.0.6" ... I have "Dual Core" machine on which I am working..I am trying  to fetch Dom-0 CPU utilization using XenAPI RPC "get_utilisation()"(class host cpu)....
    S
ince my machine is dual core this function is yielding me utilization of Core 1 & Core 2 separately(e.g Core ONE - 0.4241242424  & Core TWO - 0.3254842450)..I just want to calculate the overall CPU utilization in percentage for the Dom-0...What is the standard procedure in this case to calculate overall CPU utilization in percentage by considering above two CPU utilizations for each core ?

Thanks,
Kushal Waikar
kushalwaikar@xxxxxxxxxxx


Get perfect Email ID for your Resume. Get before others grab.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>