[libvirt] How to get VM memory usage
Daniel P. Berrange
berrange at redhat.com
Thu Apr 20 08:13:25 UTC 2017
On Thu, Apr 20, 2017 at 09:33:12AM +0800, wangyufeng at cloudguarding.com wrote:
> Hello everyone,
>
> Could you tell me how to get VM memory usage from libvirt-go?
The virDomainGetInfo() method includes memory data. Thi is the 'GetInfo()'
method on a Domain object in Go
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list