[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] monitor cpu & network load
- From: "Daniel P. Berrange" <berrange redhat com>
- To: Zu <zuzhihui gmail com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] monitor cpu & network load
- Date: Wed, 9 Jul 2008 10:19:36 +0100
On Wed, Jul 09, 2008 at 05:16:10PM +0800, Zu wrote:
> Hi,
>
> I want to write a program to monitor the CPU and network usage of the Xen
> domUs. But I don't know how to implement. Can the libvirt APIs help me to
> do that? Does libvirt have the APIs to get the CPU and network usages? If
> yes I'll study libvirt APIs.
Yes,you want to look at
virDomainGetInfo
virDomainBlockStats
virDomainInterfaceStats
Regards,
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]