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(a)redhat.com>
> ---
ACK with nits fixed.
Fixed and pushed. Thanks!
Michal