[libvirt] [PATCH v2] examples: Introduce domtop

Michal Privoznik mprivozn at redhat.com
Fri Jul 18 14:47:27 UTC 2014


On 18.07.2014 15:48, Eric Blake wrote:
> On 07/18/2014 03:08 AM, Michal Privoznik wrote:
>> There's this question on the list that is asked over and over again.
>> How do I get {cpu, memory, ...} usage in percentage? Or its modified
>> version: How do I plot nice graphs like virt-manager does?
>>
>> It would be nice if we have an example to inspire people. And that's
>> what domtop should do. Yes, it could be written in different ways, but
>> I've chosen this one as I think it show explicitly what users need to
>> implement in order to imitate virt-manager's graphing.
>>
>> Note: The usage is displayed from host perspective. That is, how much
>> host CPUs the domain is using. But it should be fairly simple to
>> switch do just guest CPU usage if needed.
>>
>> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>> ---
>

> ACK with nits fixed.
>

Fixed and pushed. Thanks!

Michal




More information about the libvir-list mailing list