Re: Using libvirt to monitor virtual environment.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/18/2012 08:02 AM, Vinicius Gonçalves Braga wrote:
> Hey,
> 
> I am new with libvirt. I am working to create a program to monitor a
> virtual environment. I have seen some solutions that use libvirt. Is this
> API good to make monitoring operations? I didn't see operations that show
> the CPU or memory usage, at least in Java binding. Are there operations
> like these, or we have to calculate based on lower level informations?

You may be interested in looking at 'virt-top', which is an example of
tracking CPU usage on top of libvirt APIs, for how best to do things.  I
don't specifically know of a Java client that does the same, but it
should be fairly straightforward to translate the API calls used by
virt-top into the Java bindings for libvirt.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux