Re: [PATCHv6 0/6] Add virNodeGetCPUStats() API

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

 



On Mon, 30 May 2011 09:36:50 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:

> On Wed, 25 May 2011 15:01:29 +0900
> Minoru Usui <usui@xxxxxxxxxxxxxxxxx> wrote:
> 
> > Hi,
> > 
> > This is v6 of virNodeGetCPUTimeParameters() API. 
> > (This time, I rename it to virNodeGetCPUStats())
> > It returns cpu utilization or 
> > cumulative cpu time of the node from /proc/stat since node boots up.
> > This patch only supports linux host.
> > 
> 
> Can I make a question ?
> 
> What "CPU' means here ? 
> 
> CPU usage statistics from the Guest OS's point of view  ?
> 
> Do we get the information by asking an daemon or module on the guest 
> to gather statistics on the guest ?

No.
This API gets host cpu statistics, not guest.

It's just read statistics from /proc/stat of the host.

> Thanks,
> -Kame
> 


-- 
Minoru Usui <usui@xxxxxxxxxxxxxxxxx>

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]