Displaying 20 results from an estimated 300 matches similar to: "memoryStats question"
2014 Jul 03
2
Re: memoryStats question
At Thu, 3 Jul 2014 15:58:41 +0200,
Martin Kletzander wrote:
>
> On Thu, Jul 03, 2014 at 04:31:46PM +0300, Gleb Voronich wrote:
> >Hello,
> >
> >I'm trying to get memory usage statistic inside a guest machine using
> >virDomainMemoryStats function at libvirt.
> >According to
> >http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatTags the
2014 Jul 03
2
Re: memoryStats question
On 07/03/2014 07:58 AM, Martin Kletzander wrote:
> On Thu, Jul 03, 2014 at 04:31:46PM +0300, Gleb Voronich wrote:
>> Hello,
>>
>> I'm trying to get memory usage statistic inside a guest machine using
>> virDomainMemoryStats function at libvirt.
>> According to
>> http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatTags the
>> structure
2014 Jul 03
3
Re: memoryStats question
On 07/03/2014 08:29 AM, Gleb Voronich wrote:
>> Eric Blake <mailto:eblake@redhat.com>
>> >
>> > In the case of the memory balloon device, libvirt CAN provide stats from
>> > the guest, because of the way the balloon device works. But if you
>> > aren't using a balloon, or if the guest is not cooperative, this won't
>> > work. Better
2014 Jul 03
0
Re: memoryStats question
On Thu, Jul 03, 2014 at 04:31:46PM +0300, Gleb Voronich wrote:
>Hello,
>
>I'm trying to get memory usage statistic inside a guest machine using
>virDomainMemoryStats function at libvirt.
>According to
>http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatTags the
>structure could have a lot of useful memory statistic but the amount of
>parameters depends on
2014 Jul 04
2
Re: memoryStats question
At Thu, 03 Jul 2014 17:46:14 +0300,
Gleb Voronich wrote:
>
>
> > virDomainMemoryStats() gets those stats, if qemu is new enough to
> > provide them, and if the guest cooperates to provide them.
> Well I use the latest QEMU 2.0.0
> I have the latest CentOS 6.5 installed on the guest and unfortunately
> I can't get more stats that I have.
>
> > Which OS are
2014 Jul 08
2
Re: memoryStats question
At Fri, 04 Jul 2014 16:18:45 +0200,
Ján Tomko wrote:
>
> [1 <text/plain; ISO-8859-1 (quoted-printable)>]
> On 07/04/2014 03:18 PM, Claudio Bley wrote:
> > At Thu, 03 Jul 2014 17:46:14 +0300,
> > Gleb Voronich wrote:
> >>
> >>
> >>> virDomainMemoryStats() gets those stats, if qemu is new enough to
> >>> provide them, and if the
2014 Jul 03
2
Re: memoryStats question
At Thu, 03 Jul 2014 17:32:20 +0300,
Gleb Voronich wrote:
>
>
> > Actually, you should get more stats when using the virtio balloon
> > driver in your guests.
> I use the balloon but I can't get more stats.
> I use python binding for libvirt and as far as I can see it calls
> virDomainMemoryStats exactly.
Which OS are you using in your guests?
Of course, you need
2015 Oct 30
2
virDomainMemoryStats missing counters ...
Hi,
In which libvirt version are these virDomainMemoryStats() counters handled ?
VIR_DOMAIN_MEMORY_STAT_SWAP_OUT
VIR_DOMAIN_MEMORY_STAT_MAJOR_FAULT
VIR_DOMAIN_MEMORY_STAT_MINOR_FAULT
VIR_DOMAIN_MEMORY_STAT_UNUSED
VIR_DOMAIN_MEMORY_STAT_AVAILABLE
Thanks.
Regards,
J.P. Ribeauville
P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5 Bureau 4
2015 Nov 02
1
Re: virDomainMemoryStats missing counters ...
Hi,
Thx for answer .
By using these releases ,
libvirt-gconfig-0.1.7-3.el7.x86_64
libvirt-daemon-config-nwfilter-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-storage-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-network-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-qemu-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-secret-1.2.8-16.el7_1.3.x86_64
2014 Mar 10
3
How to get guest's cpu and mem usage with Java APIs
Hi everybody,
I'm using libvirt java api bindings for my thesis. I would like to know if
there is a way to obtain live information about cpu and mem usage of a
domain.
Regards,
Enrico De Maio
Skype: enrico.de.maio
Mobile: +39 338 205 3397
2014 Jul 03
0
Re: memoryStats question
On 07/03/2014 08:39 AM, Claudio Bley wrote:
> At Thu, 03 Jul 2014 17:32:20 +0300,
> Gleb Voronich wrote:
>>
>>
>>> Actually, you should get more stats when using the virtio balloon
>>> driver in your guests.
>> I use the balloon but I can't get more stats.
>> I use python binding for libvirt and as far as I can see it calls
>>
2014 Jul 03
1
Re: memoryStats question
On 07/03/2014 08:46 AM, Gleb Voronich wrote:
>
>> virDomainMemoryStats() gets those stats, if qemu is new enough to
>> provide them, and if the guest cooperates to provide them.
> Well I use the latest QEMU 2.0.0
> I have the latest CentOS 6.5 installed on the guest and unfortunately I
> can't get more stats that I have.
Then your problem is your libvirt is too old.
2014 Jul 04
0
Re: memoryStats question
On 07/04/2014 03:18 PM, Claudio Bley wrote:
> At Thu, 03 Jul 2014 17:46:14 +0300,
> Gleb Voronich wrote:
>>
>>
>>> virDomainMemoryStats() gets those stats, if qemu is new enough to
>>> provide them, and if the guest cooperates to provide them.
>> Well I use the latest QEMU 2.0.0
>> I have the latest CentOS 6.5 installed on the guest and unfortunately
2012 Jul 18
1
virDomainMemoryStats call
Hi,
I'm using the API virDomainMemoryStats to fetch memory stats for a domain/guest on Fedora 16/RHEL 6.3 . I don't get these counters filled up
VIR_DOMAIN_MEMORY_STAT_UNUSED, VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON,VIR_DOMAIN_MEMORY_STAT_AVAILABLE , VIR_DOMAIN_MEMORY_STAT_MAJOR_FAULT and VIR_DOMAIN_MEMORY_STAT_MINOR_FAULT. The version of libvirt 0.9.11 on Fedora 16 . How to get all the
2014 Jul 03
0
Re: memoryStats question
> Actually, you should get more stats when using the virtio balloon
> driver in your guests.
I use the balloon but I can't get more stats.
I use python binding for libvirt and as far as I can see it calls
virDomainMemoryStats exactly.
2014 Jul 03
0
Re: memoryStats question
> virDomainMemoryStats() gets those stats, if qemu is new enough to
> provide them, and if the guest cooperates to provide them.
Well I use the latest QEMU 2.0.0
I have the latest CentOS 6.5 installed on the guest and unfortunately I
can't get more stats that I have.
> Which OS are you using in your guests?
>
> Of course, you need to have the virtio balloon driver up and
2014 Mar 12
4
Problem in getting memory statistics
Hello,
I need to get how much memory is used by a guest system, in order to
implement some monitoring function which tells me if the system is
overstressed.
I am currently using java apis and the binding which was suggested to me was
Domain.memoryStats();
This is a binding to int virDomainMemoryStats
(virDomainPtr<http://libvirt.org/html/libvirt-libvirt.html#virDomainPtr>dom,
2016 Feb 05
0
virDomainMemoryStats available tags
Hi,
By using libvirt-1.2.8-16.el7_1.3.x86_64 , it looks like there are 3 virDomainMemoryStats tags available :
VIR_DOMAIN_MEMORY_STAT_SWAP_IN
VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON
VIR_DOMAIN_MEMORY_STAT_RSS
Is there a plan to add the other ones ?
Meanwhile , do you know which metrics ovirt uses to display memory column value in the manager GUI ?
Thx.
J.P. Ribeauville
P:
2014 Jul 08
0
Re: memoryStats question
> In that case, I'd guess that Gleb just forgot to call
> virDomainSetMemoryStatsPeriod, perhaps?
I've just performed the same test with CentOS 7 at the host and CentOS 7
at the guest.
Everything works.
# virsh dommemstat vm1
actual 1048576
swap_in 0
swap_out 0
major_fault 751
minor_fault 3958627
unused 375900
available 1017988
rss 978248
I don't know the reason it doesn't
2015 Oct 30
0
GUEST Memory statistics secret revealed ...
Hi,
I'm wondering how to explain following metrics I got from libvirt,
regarding memory stats for the two GUESTS running on my host.
1) virDomainGetXMLDesc() shows these values :
memmax (1024000.000000) memcurrent(1024000.000000)
memmax (2048000.000000) .memcurrent(2048000.000000)
2) As values returned by virDomainMemoryStats(), I got these values :