Re: Re: [Libvir] ANNOUNCE: Virt-top - a top-like utility for displaying virtualization stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 6 Aug 2007 22:31:24 +0100
"Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:

> If the time delta between your gettimeofday() calls does not exactly 
> match the time delta between your virDomainGetInfo() calls, and the 
> domain you're measuring is very active then you can end up calcuating 
> > 100% occassionally. Not by much - typically < 1% over, but I don't  
> really see any way around it.

Shucks, it is easy to work around:

   if (percentcpu > 100) percentcpu = 100;

:-).

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux