[Openstack] [openstack][ceilometer] cpu util stats using libvirt qemu:///system

Guangyu Suo guangyu at unitedstack.com
Wed May 14 15:57:09 UTC 2014


Hi,

The cpu_util is calculated by cpu time in pipeline's transformer:
https://github.com/openstack/ceilometer/blob/master/etc/ceilometer/pipeline.yaml#L43


2014-05-14 22:55 GMT+08:00 Alejandro Comisario <
alejandro.comisario at mercadolibre.com>:

> Hi Guys, any help regarding this matter ?
>
>
> On Tue, May 13, 2014 at 5:53 PM, Alejandro Comisario <
> alejandro.comisario at mercadolibre.com> wrote:
>
>> Hi guys, sorry if this has been asked already.
>>
>> I dont seem to find the cpu % util implementation for libvirt using qemu.
>>
>>
>> https://github.com/openstack/ceilometer/blob/master/ceilometer/compute/virt/libvirt/inspector.py
>>
>> Is it possible to get it or the code is somewere else ?
>> Its no real use the % time since i need de % util to compare it
>> against the overall host % cpu.
>>
>> Can you help me understand what am i geting wrong ?
>> If so, how this is / should be calculated ?
>>
>> Thanks a lot!
>>
>> -------------
>> alejandrito
>>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


-- 
索广宇(Guangyu Suo)
UnitedStack Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140514/fc4a12f2/attachment.html>


More information about the Openstack mailing list