[libvirt] bulk stats for block and cpu

Jiri Denemark jdenemar at redhat.com
Mon Jun 1 18:41:47 UTC 2015


On Mon, Jun 01, 2015 at 17:45:46 +0300, Vasiliy Tolstov wrote:
> Hi. Is i remember sometimes ago someone implements bulk stats for
> libvirt (cpu, block, network..?) to able to get all needed info with
> one api call. But i can't find api in libvirt docs, does anybody helps
> me and send link to docs, ii want to get info about block stats for
> 100-200 domains.

I believe virConnectGetAllDomainStats is the API you are looking for:

http://libvirt.org/html/libvirt-libvirt-domain.html#virConnectGetAllDomainStats

Jirka




More information about the libvir-list mailing list