similar to: With no luck with virDomainGetInfo and virDomainMemoryStats for memory usage of a running vm

Displaying 20 results from an estimated 400 matches similar to: "With no luck with virDomainGetInfo and virDomainMemoryStats for memory usage of a running vm"

2013 Feb 28
1
The accurate CPU usage of a domain?
Hi,all I want to get a relatively accurate cpu usage of a domain. I have a few questions about virDomainGetInfo: struct virDomainInfo{ unsigned char state : //the running state, one of virDomainState unsigned long maxMem :// the maximum memory in KBytes allowed unsigned long memory :// the memory in KBytes used by the domain unsigned short nrVirtCpu :// the number of virtual CPUs for the
2013 Sep 26
1
Re: [libvirt] virDomainGetInfo() returns wrong domain state
Yes, I am sure because other information pulled are correct. And the same way we have used libvirt APIs to extract other informations at different places. My question is if VM is in shut-off state does it mean running ? IF not, what is the correct state for this VM. I am wondering why the state is 'unsigned char' in virDomainGetInfo, why it could not be 'enum' as it is returning
2013 Sep 25
0
Re: virDomainGetInfo() returns wrong domain state
Hi Libvirt support team, Could you please help me with below query. Regards Ritesh Sharma From: Panday Ritesh Sharma (rpanday) Sent: Tuesday, September 24, 2013 8:22 PM To: 'libvir-list@redhat.com'; 'libvirt-users@redhat.com'; Vinay Shankarkumar (vinays) Cc: Basavaraj Bendigeri (bbendige); q-se-dev(mailer list) Subject: virDomainGetInfo() returns wrong domain state Hi Team, I
2013 Sep 26
0
Re: [libvirt] virDomainGetInfo() returns wrong domain state
On 24.09.2013 16:51, Panday Ritesh Sharma (rpanday) wrote: > > > Hi Team, > > I have written below code to get the VM state at run time. I found, > though the VM is in shut-off state, when I use the function > virDomainGetInfo(); I get state as running. Could you please let me > know what wrong I am doing. To know the actual VM state I used ‘virsh > list’ and it
2013 Sep 24
2
virDomainGetInfo() returns wrong domain state
Hi Team, I have written below code to get the VM state at run time. I found, though the VM is in shut-off state, when I use the function virDomainGetInfo(); I get state as running. Could you please let me know what wrong I am doing. To know the actual VM state I used 'virsh list' and it clearly shows the VM is in shut-off state. Please find the log and code snippet below. Log from virsh:
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 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,
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 Jan 18
1
How to use "virDomainMemoryStats"? I got 0 result.
I use like this; int n = virDomainMemoryStats(dom, stats, 4, 0); I want to get men used and not used. If can , I want to get all output in stats. but "n" result is always 0. ??????????????? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120118/86d63565/attachment.htm>
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
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:
2015 Oct 28
0
How to find memory utilization percent of kvm guest?
I currently use following approach but its failing Find Max memory using following API         vdgiRet = virDomainGetInfo(domPtr, infoPtr);         memTotal = infoPtr->memory; Find current utilization using following API                 rVal = virDomainMemoryStats (domPtr, memStats, VIR_DOMAIN_MEMORY_STAT_NR, 0) ;         for (i = 0; i < rVal; i++)         {             if
2010 Mar 21
0
issues with Migrating a domain
Hi everyone i've been trying to migrate a domain from hostA to hostB.But everytime i did it with "virsh --live migrate <Domain> xen+ssh://root at Destination", it failed and told me something like "Error Domain not found:xenUnifiedDomainLookupByName". The same thing happened when i tried to do the same thing with libvirt API like virDomainMigrate &
2011 Jan 10
0
No subject
Regards, Huy Nguyen Date: Sun, 9 Jan 2011 20:01:57 -0800 From: ducphuongbk200586 at gmail.com To: asterisk-users at lists.digium.com Subject: [asterisk-users] How to check a number online or offline Hi all, Now i want to check a number (channel) online, offline or unreachable on asterisk but i don`t know to do. Can anyone help me to solve this issue. Thanks and best regard! --
2015 Jul 05
0
LONGINES浪琴名匠系列,全国包邮,一折秒杀
<table align="center" border="0" cellpadding="0" cellspacing="0" width="498"> <tbody> <tr> <td align="center" height="30" style="font-size:12px; font-family:'微软雅黑'; line-height:30px;"> 如果无法阅读此邮件,请<a
2013 Feb 07
0
There seems a deadlock in libvirt
Hi, all, We were running OpenStack with Ubuntu and libvirt 0.9.10. We found that libvirt monitor command not working well. There were a lot of error in libvirtd.log like this 2013-02-07 06:07:39.000+0000: 18112: error : qemuDomainObjBeginJobInternal:773 : Timed out during operation: cannot acquire state change lock We dig into libvirtd by strace and find one of the thread only have the following
2009 Jan 12
0
No subject
_________________________________________________________________ --_23bd0ee8-3cc4-4c06-95e3-2d5391b0793f_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style> .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 10pt=3B font-family:Verdana } </style> </head> <body
2013 Feb 14
1
Support for Hyper-V
Hi, I would like to know if libvirt support Hyper-V deployed in Windows 2012 server. Does libvirt talk to Hyper-V using the REST API provided by Microsoft (where SCVMM & SPF are deployed)? >From the web site, I see that libvirt support only "Hyper-V 2008 R2" Many thanks in advance. Hassan -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Jul 12
0
No subject
or we need to implement a SIP server to integrate with Asterisk in order to= provide full picture of VOIP system? Thanks. > Date: Wed, 5 Sep 2007 13:30:21 +1000 > From: devraj at gmail.com > To: asterisk-users at lists.digium.com > Subject: Re: [asterisk-users] How to make call from asterisk? >=20 > Helps us help you further, what do you intend to do? >=20 > - Dial