Displaying 20 results from an estimated 3000 matches similar to: "How to get guest's cpu and mem usage with Java APIs"
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 Mar 10
0
Fwd: How to get guest's cpu and mem usage with Java APIs
I would like to know how much memory and cpu virtual machine are using so
yes guest's perspective. I'm building a web app that has to alert the user
when the vm is going to be stressed and I would like to do this in terms of
mem and cpu usage.
Thanks in advance for your support,
Enrico De Maio
On Mon, Mar 10, 2014 at 7:16 PM, Eric Blake <eblake@redhat.com> wrote:
> On
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
2012 Apr 12
2
No way to obtain guest's cpu and mem usage?
Hi everybody,
I'm using the PHP API to make a web interface interact with the virtual
machines installed on some hypervisor.
Everything is fine, but I would like to find a way to get the guest's
cpu and mem usage, so that it should be possible to make some rrd
graphs. I didn't find out anything and also it seems looking around that
there is no way to obtain those data.
What is strange
2010 Feb 08
1
About scales in graphics
Hi,
I'm building two graphics just changing the scale to show
the graphic illusion.
The first graph would be 'correct'.
atend = c(410,430,450,408,408,405)
names(atend) = c('Janeiro', 'Fevereiro', 'Mar?o', 'Abril',
'Maio', 'Junho')
barplot(atend, las=1, xlab='Meses', ylab='N?mero de
atendimentos',
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
2010 Oct 22
2
covariance matrix
Dear all,
I generated a covariance matrix and I would like to generate a 1D plot of
the data that auto-correlate. any suggestions?
Thanks,
Marcelo
--
Marcelo Andrade de Lima
UNIFESP - Universidade Federal de São Paulo
Departamento de Bioquímica
Disciplina de Biologia Molecular
Rua Três de Maio 100, 4 andar - Vila Clementino, 04044-020
Lab +55 11 55764438 R.1188
Cell +55 11 92725274
2016 Mar 18
3
Incorrect memory usage returned from virsh
When I run `virsh dominfo <domain>` I get the following:
Id: 455
Name: instance-000047e0
UUID: 50722aa0-d5c6-4a68-b4ef-9b27beba48aa
OS Type: hvm
State: running
CPU(s): 4
CPU time: 123160.4s
Max memory: 33554432 KiB
Used memory: 33554432 KiB
Persistent: yes
Autostart: disable
Managed save: no
Security model:
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
2018 May 07
1
How to log querystring values?
Philipp,
Thanks so much for your time and relpy.
This dawn, before read your email, I worked to implement the URL authentication and it worked like a charm. I am still using querystring instead of custom header field because I have no control over the player. But, the excelent news is, no more rproxy! =)
And you were right, this way I have more possibilities than before!
Again,
2018 May 06
2
How to log querystring values?
Dear Philipp,
Thanks for you reply.
My goal is to show in our analytics page segmented data (official apps,
partner apps, third-party apps, demographic and geo). To do so each app
pass some values in the query string (ie: app id, user id, lat, lng). And I
need to know those values in order to do that.
Today we are using nginx as a reverse proxy to Icecast to get those data
but it
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
2010 Nov 04
1
matlab code into R
Hello,
I'm trying to write the following matlab code into R:
N = zeros(n-1); for i=2:(n-1)
N(1,i) = 1/(pi * (i-1));
end for i=2:(n-2)
for j=i:(n-1) N(i,j) = N(i-1,j-1);
end;
end for i=2:(n-1)
end
for j=1:i N(i,j) = -N(j,i);
end;
any suggestions?
Thanks
can i just add the following line to my calculation N=1/(pi*(i-1)
--
Marcelo Andrade de Lima
UNIFESP - Universidade Federal
2004 May 19
1
RES: Experiences with Samba 3 in 'Windows Server 2003' mo de domains?
Hi Thomas,
I ran Samba-3.0.2a + MIT Kerberos 1.3.3 with Windows 2000 without any
problem, all the users was able to access the shares with their tickets,
after migrate my W2K server to Windows 2003 no one can access the shares on
the linux machine using its netbios name, it only works trough ip address.
I've been many people reporting the same issue, but no one was able do
answer.
Hi samba
2016 Sep 01
2
Monitor guest vm memory usage
Hi All
Is there a tool to monitor qemu-kvm guest vm memory usage ( free in guest vm)?Nowadays, I have already researched some methods:1. qemu-kvm process memory usage.? ? ?Since qemu-kvm process memory usage always increases as time goes on, it will not reflect the memory usage in vm.2.?virsh dommemstat? ? ?Just as method 1.3.?virsh qemu-monitor-command --hmp [domain name] "info mem"? ?
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,
2015 Apr 24
0
Férias/Maio/Junho
Apartamentos Lamy
Algarve
Arma??o de P?ra
www.apartamentoslamy.com - Telefone 282 315 601
Aproveite as nossas promo??es. Fa?a uma pausa, viaje at? ao Algarve e desfrute de umas f?rias no conforto da Primavera.
T1, s/Ac e pouca vista de mar, at? 30 de Maio de 2015.
Special price until the 30th May 2015. One bedroom apartment without air conditioning and little sea view.
2 pax = 175? (7
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
2010 Oct 24
1
140 packages in R Commander!!
Dear List
I just downloaded and installed R 2.12.0 and then installed R Commander .
First it got RCmdr and Car, and then suggested for other packages for
utilizing the full functionality- I clicked yes!
I got 140 packages installed!!! Cran Mirror was UCLA...
Here is the list.
Is this intentional- I can see some packages like snow and multicore which
are desirable but quite optional.(see list
how can i get enough mem stat detai from win7 vm with virtio-win driver install and blnsrv started ?
2020 Mar 23
0
how can i get enough mem stat detai from win7 vm with virtio-win driver install and blnsrv started ?
hi,every one
I have some trouble with the virsh to get vm mem-usage in guest os.
[root@localhost ~]# virsh list --all
Id Name State
1 wwl_centos7_1708 running
2 windows-virtio-template running
I create two vms one guest os is centos, the other is window 7
virsh dommemstat wwl_centos7_1708
actual 4194304
swap_in 0
swap_out 0
major_fault 194
minor_fault 219454
unused 3729588
available 3881812