[libvirt] bulk stats for block and cpu

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. -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru

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#virConnectGetAllDomainSt... Jirka

2015-06-01 21:41 GMT+03:00 Jiri Denemark <jdenemar@redhat.com>:
I believe virConnectGetAllDomainStats is the API you are looking for:
http://libvirt.org/html/libvirt-libvirt-domain.html#virConnectGetAllDomainSt...
Thanks for info, last step - add this to php binding =). (i'm try to add) -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru
participants (2)
-
Jiri Denemark
-
Vasiliy Tolstov