Displaying 20 results from an estimated 20000 matches similar to: "virDomainGetCPUStats missing in Java API bindings ?"
2011 May 20
3
Java Bindings for libvirt
Hi
I looked at the java bindings for libvirt at
http://libvirt.org/sources/java/ . Latest version here is 0.4.7 whereas the
latest version of libvirtd is 0.9.1 . Does the java binding use latest
libvirtd ?
If not, can it be created easily ?
Also, is there any plan to support HyperV support in future ?
Thanks
Atul
-------------- next part --------------
An HTML attachment was scrubbed...
2012 May 28
1
What features of kernel are required to support virDomainGetCPUStats?
Hi,
Weeks ago, I developed my app under ubuntu-11.10 (kernel 3.0) with
lilbvirt-0.9.10. In my code , I used virDomainGetCPUStats to query cpu
usage info of domains, and it worked well.
However, today, I port my code to ubuntu-10.04.4 (kernel 2.6.32) with
libvirt-0.9.10, I find the function virDomainGetCPUStats can't work
and complains "this function is not supported by the connection
2012 May 28
0
[libivrt-users] What features of kernel are required to support virDomainGetCPUStats?
Hi,
Weeks ago, I developed my app under ubuntu-11.10 (kernel 3.0) with
lilbvirt-0.9.10. In my code , I used virDomainGetCPUStats to query cpu
usage info of domains, and it worked well.
However, today, I port my code to ubuntu-10.04.4 (kernel 2.6.32) with
libvirt-0.9.10, I find the function virDomainGetCPUStats can't work
and complains "this function is not supported by the connection
2012 Apr 16
2
What does cpu_time returned by virDomainGetCPUStats mean?
hi, everyone.
I find an 'interesting' thing involving virDomainGetCPUStats(). I
call it for cpu usage consumed by a domain and get a array of
virTypedParameter. My system is 2-core and hyperviser return 1
parameter per cpu. So the contents of the array is like this.
virTypedParameter[0]
{
.fiedl = "cpu_time"
.type = 4
.value.ul = 51640610899
2014 Aug 12
1
Libvirt Java API to get CPU usage of VM (KVM)
Hi all libvirt-users,
Is there a counterpart on Java of the function virDomainGetCPUStats that is based on C API? Because I am trying to create a program based on
java to get the CPU usage of a Guest/Domain/VM in KVM using the Libvirt
Java API.
Honestly, I am having a hard time in starting my program. I have no
idea where to start. I mean, what functions do I need to get the CPU
usage of
2013 Apr 19
1
problem when get the vm cpu stat
Hi all,
I try to get vm cpu stat by function "virDomainGetCPUStats", when the vm
Cpu usage is 100%, I can see from the vm shell by "top", when the info
Get by the "virDomainGetCPUStats" show only the "cpu_time" increased,
"user_time" and "system_time" was not changed at all.
Is that correct ? How can I get the vm cpu usage?
2018 Nov 28
2
Re: Libvirt api for esx
Thanks, I'll check it out.
On Wed, 28 Nov 2018 at 9:31 PM, Martin Kletzander <mkletzan@redhat.com>
wrote:
> On Mon, Nov 26, 2018 at 04:11:20PM +0530, ROHIT SINGH wrote:
> >Hi,
> >
> >I am doing poc for using libvirt api for implementation of esx in python.
> >
> >I tried researching through module but did not find a way how it works for
> >esx.
2012 Apr 16
1
What's the precision of the domain cpu stats?
Hi, everyone
I'm using libvirt and resort to virDomainGetCPUStats for cpu
usage by one domain. In my system, Ubuntu-11.10 64bit with 2 cores and
Qemu Hyperviser, this function returns something like this:
virTypedParameter[0]
{
field: "cpu_time"
type: 4
value.ul 51640610899
}
virTypedParameter[1]
{
2018 Nov 28
0
Re: Libvirt api for esx
On Mon, Nov 26, 2018 at 04:11:20PM +0530, ROHIT SINGH wrote:
>Hi,
>
>I am doing poc for using libvirt api for implementation of esx in python.
>
>I tried researching through module but did not find a way how it works for
>esx.
>Any help on how to proceed specifically for esx would be of great help.
>
See https://libvirt.org/drvesx.html for ESX-related stuff. But mainly it
2018 Nov 28
0
Re: Libvirt api for esx
Hi Martin,
Could you please point me to any example codes in python present for esx?
Suppose, I have to power off and power on esx virtual machine, can i get
this code somewhere on python to develop some understanding.
Actually, I am not able to find sample code related to esx in python,
please point me if any such link available.
Appreciate your help !!
Thanks.
Regards
Rohit Singh
On Wed,
2018 Nov 29
0
Re: Libvirt api for esx
Thanks a lot Martin for help.
Really appreciate it. You’re life saver.
I will go through these links and will get back to you in case I need
anymore information.
Once again, thanks for help.
Regards
Rohit Singh
On Thu, 29 Nov 2018 at 2:34 PM, Martin Kletzander <mkletzan@redhat.com>
wrote:
> On Wed, Nov 28, 2018 at 10:24:55PM +0530, ROHIT SINGH wrote:
> >Hi Martin,
> >
2008 May 25
3
Emacs Bundle...
Hi List,
I remember someone mentioning a R-specific bundle of Emacs. Can you please
post link again?
Regards,
Atul.
--
Atul S. Kulkarni
Graduate Student,
Department of Computer Science,
University Of Minnesota,
Duluth, MN 55812.
www.d.umn.edu/~kulka053
---------------------------------------------------------
"Before you start some work, always ask yourself three questions - Why am I
2018 Nov 29
2
Re: Libvirt api for esx
On Wed, Nov 28, 2018 at 10:24:55PM +0530, ROHIT SINGH wrote:
>Hi Martin,
>
>Could you please point me to any example codes in python present for esx?
>Suppose, I have to power off and power on esx virtual machine, can i get
>this code somewhere on python to develop some understanding.
>
https://www.mail-archive.com/libvir-list@redhat.com/msg17903.html
>Actually, I am not
2014 Mar 05
1
Flags in java api bindings
I am currently using Connect(String,ConnectAuth,int) constructor, as I
decided to use tcp connection and I need the auth part.
It works, but I still need the read/write flag which, in the
Connect(String, boolean) is a boolean. I need to enable write permits.
In the javadoc no flags are defined...so which is the flag for allow write?
And where can I find a list?
2008 Oct 18
1
Error: could not find function "readMat"
Hi All,
I installed this R.matlab package and tried using the sample code
>
> path <- system.file("mat-files", package="R.matlab")
>
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> # Reading all example files
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> for (version in 4:5) {
+
2018 Dec 06
0
Re: Libvirt api for esx
On Wed, Dec 05, 2018 at 09:44:17PM +0530, ROHIT SINGH wrote:
>Hi Martin,
>
>Could you please help me with below issue, I am not sure what’s wrong here.
>Please find below code and error snippet.
>
>Thanks for help.
>
>Code Snippet: -
>
>from __future__ import print_function
>import sys
>import libvirt
>SASL_USER = <username>
>SASL_PASS =
2008 Apr 23
1
help needed: Plotting step by step.
Hello,
I have generated 2 Poisson processes and want to plot them on a single graph
in a step by step manner in order to be able to compare them. I tried plot
and biplot but it does not help, I could connect two points by hand for
point graph if they were 5 or 10 I have more than 200 such point to be
connected and Poisson cluster makes it difficult for me to even read them
properly.
Can anyone
2012 Aug 17
1
getCPUStats of a domain by a non-root user - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted
Hello,
I'm trying to use libvirt as a non-root user to obtain statistics on the
CPU usage by VMs using the Python API. I'm performing basically the
following steps:
import libvirt
conn = libvirt.openReadOnly(None)
dom = conn.lookupByUUIDString('268e38ea-1bc7-41e4-c19e-8eff682e58e4')
dom.getCPUStats(True, 0)
However, they result in the following error:
libvir: QEMU Driver
2018 Dec 12
0
Re: Libvirt api for esx
Thanks Martin, It’s working now.
Could you please help me with role of xml in libvirt api and what if I
don’t want use of xml in my code.
Please let me know.
Thanks for help!!
Regards
Rohit Singh
On Thu, 6 Dec 2018 at 11:24 PM, ROHIT SINGH <rohit.singh0908@gmail.com>
wrote:
> Thanks Martin for help. I will give it a shot.
>
> Regards
> Rohit Singh
>
> On Thu, 6 Dec 2018
2018 Dec 05
2
Re: Libvirt api for esx
Hi Martin,
Could you please help me with below issue, I am not sure what’s wrong here.
Please find below code and error snippet.
Thanks for help.
Code Snippet: -
from __future__ import print_function
import sys
import libvirt
SASL_USER = <username>
SASL_PASS = <password>
def request_cred(credentials, user_data):
for credential in credentials:
if credential[0] ==