Displaying 20 results from an estimated 600 matches similar to: "Problem in getting memory statistics"
2014 Mar 15
0
Re: Problem in getting memory statistics
I have another problem.
As in java bindings there is no way to obtain cpu stats I decided to use a
python script.
It gives me, for the guest domain, cpu time, system time and user time.
Now, what does it mean cpu time? I though that it could be the overall cpu
time given to this vm...but the sum doesn't add up: user_time+system_time
!= cpu_time.
As I would need to get a %cpu usage, like
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
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 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
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
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
2014 Mar 17
0
Re: Problem in getting memory statistics
[please don't top post on technical lists. it is easier to follow
conversation and less likely you forget answering a question if
you reply to the questions in line]
[please keep the conversation on the list - I've re-added libvirt-users]
At Sat, 15 Mar 2014 10:15:15 +0100,
Pasquale Dir wrote:
>
> I am on a kubuntu 13.10 x64, qemu version 1.5.0, guest uses kvm as emulator
>
2014 Mar 30
2
Re: Programmatically force shutdown a guest: possible?
Yes, you are right.
Listen, as the documentation is not very exaustive, can you explain briefly
to me how a guest agent works?
After installing it via the apt-get on the hypervisor (I am using ubuntu as
host system) how can I create a script which would do this?
That is waiting for an acpi signal and actually shut down the guest.
And what other operation can you actually do with a guest agent? I
2010 Sep 29
1
Problems Windows 7 64 Bit joining a Samba + Ldap domain
Hello all,
I am doing some tests with Windows 7 and a Samba Domain, but into a
working SAMBA domain, where windows XP joins without problems, when i
try with 7 i recieve an error like "The trust relationship between this
workstation and the primary domain failed.". I use OpenSuSE 11.3 with
samba 3.5.4-5.1.2 and openldap 2.4.21-9.1.
My config of samba:
[global]
workgroup =
2011 Nov 13
1
CPU and RAM utilization
Hello,
I have a few vms running on a blade server and i want to log the actual RAM
and CPU
utilization by these vms. dom.info(), libvirt API call is not giving
correct results. It is always
showing the max allocated resources.
I have tried using virt-top also but same problem persists.
Is there any thing that i am missing.
--
Jatin Kumar
-------------- next part --------------
An HTML attachment
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
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
2004 Oct 08
4
FCR1: Syslinux boot disk after Kernel Update
Hi,
I'm running fedora core rel. 1 on a dual system, using syslinux on a
floppy disk as boot manager to start fedora. However, after up2date, I
can't start fedora with the new kernel, as syslinux probably points to
the old one. Kernel installation was done automatically via rpm (up2date
online), but it didn't change syslinux parameters.
What do I need to change in syslinux config
2014 Mar 07
3
"connection refused", but server is listening
netstat -lptu
gives me
tcp6 0 0 [::]:16514 [::]:* LISTEN
1314/libvirtd
so the server is correctly listening on interfaces.
My /etc/libvirt/libvirtd settings are defaulted.
My /etc/default/libvirt-bin has "-d -l" options so server is listening.
If I do virsh -c qemu://143.225.229.190/system (that is my ip or an ip
belonging to my network) I
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 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
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
2011 Apr 21
7
[PATCHv11 0/6] libvirt/qemu - persistent modification of devices
Here is v11. Fixed comments/bugs and updated against the latest libvirt.git.
Changes v10->v11:
- fixed comments on each patches
- fixed cgroup handling in patch 3.
- fixed MODIFY_CURRENT handling in patch 4.
most of diff comes from refactoring qemu/qemu_driver.c
--
conf/domain_conf.c | 40 ++
conf/domain_conf.h | 5
libvirt_private.syms | 3
qemu/qemu_driver.c | 727
2013 Feb 28
7
[PATCH 0/7] Fix SELinux security contexts so we can access shared disks (RHBZ#912499).
https://bugzilla.redhat.com/show_bug.cgi?id=912499
(especially comments 7 & 10)
This patch set is the final fix so that we can access disks in use by
other guests when SELinux and sVirt are enabled.
Previously such disks were inaccessible because sVirt labels the disks
with a random SELinux label to prevent other instances of qemu from
being able to read them. So naturally the libguestfs