[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCHv6 0/6] Add virNodeGetCPUStats() API
- From: Minoru Usui <usui mxm nes nec co jp>
- To: KAMEZAWA Hiroyuki <kamezawa hiroyu jp fujitsu com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCHv6 0/6] Add virNodeGetCPUStats() API
- Date: Mon, 30 May 2011 11:03:35 +0900
On Mon, 30 May 2011 09:36:50 +0900
KAMEZAWA Hiroyuki <kamezawa hiroyu jp fujitsu com> wrote:
> On Wed, 25 May 2011 15:01:29 +0900
> Minoru Usui <usui mxm nes nec co jp> 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 mxm nes nec co jp>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]