Displaying 20 results from an estimated 1000 matches similar to: "How to use "virDomainMemoryStats"? I got 0 result."
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
2012 Aug 09
1
[libvirt] virDomainMemoryStats call
Hi,
Is the array mstats returned by virDomainMemoryStats call cummulative or snapshot of the counter at that particular time ? I was of the opinion that is cummulative like the /proc counters but this counter seems to go backwards ie next snapshot value is less than the current one which makes me think these are snapshot values . I'm using RHEL 6.3 libvirt version 0.9.10.
Regards,
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
2012 Jan 09
0
libvirt-bin always hung
I have installed libvirt-bin in my ubuntu 11.10
libvirt-bin version is 0.9.2.-4 ubuntu15.1
But running after a time, it is always hung. It is not response if I use "virt" . And openstack using libvirt too, it also does not work.
???????????????
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Feb 28
0
With no luck with virDomainGetInfo and virDomainMemoryStats for memory usage of a running vm
Hi, all
I am trying to get used memory of a running vm using libvirt and then to calculate the memory usage, but with no luck.
1.The used memory returned by virDomainGetInfo is equal to max memory with no virtio balloon driver set. When using virtio balloon driver and setting currentMemory less than memory in the xml, the used memory returned by virDomainGetInfo is nearly equal to
2015 Nov 02
0
Re: virDomainMemoryStats missing counters ...
On 30.10.2015 16:25, Jean-Pierre Ribeauville wrote:
> 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
>
The flags were added in
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 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
2018 Mar 08
1
Statistics domain memory block when domain shutdown
Hi
My libvirt version is 3.4.0,host system is centos 7.4 ,kernel is 3.10.0-693.el7.x86_64 , when I shutdown domain in virtual system, My program call virDomainMemoryStats, My program blocked in this api. the call stack is
#0 0x00007ff242d78a3d in poll () from /lib64/libc.so.6
#1 0x00007ff243755ce8 in virNetClientIOEventLoop () from /lib64/libvirt.so.0
#2 0x00007ff24375654b in
2014 Jul 03
3
memoryStats question
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 the hypervisor and the driver.
However using KVM I'm able to get
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 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 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,
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
2016 Mar 08
1
How to measure memory utilizatin of guest when dommemstat reports "RSS" is more than "ACTUAL"?
How to measure memory utilizatin of guest when dommemstat reports "RSS" is more than "ACTUAL"?
Following is the output on RHEL 6.6
# dommemstat 1
actual 16777216
rss 16890372
# dommemstat 2
actual 16777216
rss 16460516
I found following article on Redhat which suggests that this is normal/expected?
https://access.redhat.com/solutions/2017943
Now we use following
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
2006 Feb 28
3
any more direct-search optimization method in R
Hello list,
I am dealing with a noisy function (gradient,hessian not available) with
simple boundary constraints (x_i>0). I've tried constrOptim() using nelder
mead to minimize it but it is way too slow and the returned results are not
satisfying. simulated annealing is so hard to tune and it always crashes R
program in my case. I wonder if there are any packages or functions can do
2005 Apr 12
3
where is internal function of sample()?
Hi there,
I am trying to write a c++ shared library for R. I need a function which has
the same functionality as sample() in R, i.e., does permutation, sample
with/without replacement. Does R have internal sample routine so that I can
call it directly?
I did not find it in R.h, Rinternal.h.
Thanks
2009 Jun 09
4
how to substitute missing values (NAs) by the group means
Dear Ruser's
I ask for helps on how to substitute missing values (NAs) by mean of the
group it is belonging to.
my dummy dataframe is:
> df
group traits
1 BSPy01-10 NA
2 BSPy01-10 7.3
3 BSPy01-10 7.3
4 BSPy01-11 5.3
5 BSPy01-11 5.4
6 BSPy01-11 5.6
7 BSPy01-11 NA
8 BSPy01-11 NA
9 BSPy01-11 4.8
10 BSPy01-12 8.1
11 BSPy01-12 6.0
12