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] VM_metrics.get_VCPUs_utilisation to percent of usage

To: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] VM_metrics.get_VCPUs_utilisation to percent of usage
From: Vasiliy G Tolstov <v.tolstov@xxxxxxxxx>
Date: Fri, 23 Jul 2010 14:25:20 +0400
Cc:
Delivery-date: Fri, 23 Jul 2010 03:26:40 -0700
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=selfip.ru; s=dk; h=Content-Transfer-Encoding:Mime-Version:Message-ID:Date:Content-Type:To:Reply-To:From:Subject; bh=eXZ3Q/yQ0KHPsdGGNkZt06x7QDI4kOxUojVNOwH3x5s=; b=mByPwCKb7LkT3eBkJMWdoouTA3Qv57HqXwhQ8ycEIdAtTIEi2ZM+lOJzj8lyYOqlcZ2ROPnnXJT/SVcp1etBLu6ewud2/l8wadb227ARMLUdl5IqtG2RM1ovGbi8C8rv;
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>
Organization: Selfip.Ru
Reply-to: v.tolstov@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello. I need to convert VM_metrics.get_VCPUs_utilisation to percent (i
need  summary usage of all vcpus in domU)

I i correctly understand - i need to do two requests and formula like
this

delay = 5 (5 sec)

first_result-second_result
---------------------------  = %
     delay*1000

Is that right? If not - can You provide to me formula to calculate vcpus
usega like displays in xentop ?

Thanks.

-- 
Vasiliy G Tolstov <v.tolstov@xxxxxxxxx>
Selfip.Ru


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] VM_metrics.get_VCPUs_utilisation to percent of usage, Vasiliy G Tolstov <=