Displaying 20 results from an estimated 70 matches similar to: "nparams in virNodeGetCPUStats and CPU utilization"
2012 Jul 10
1
Issue with getCPUStats and getMemoryStats
Hi,
I am facing issue with the calls getCPUStats and getMemoryStats. Please
find the error below.
AttributeError: 'module' object has no attribute
'VIR_NODE_CPU_STATS_ALL_CPUS'
>>> print con.getCPUStats(2, None, 0, 0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
2014 May 14
0
Is there a way to get host uptime in remote libvirt
We manage hypervisors (VMWare ESXi/vCenter, KVM, XEN, Hyper-V) by remote Libvirt API, in our case we need to get the host uptime via the same libvirt interface. Is there a way get this info now for all the aforementioned hypervisor types?
The APIs virConnectGetSysinfo(), virNodeGetInfo() provide host info but it doesn't include the system uptime.
The virNodeGetCPUStats() can returns CPU
2013 Feb 13
1
Host information from libvirt KVM/Xen
Hi,
I'm able to get the CPU utilization metrics from libvirt for the guests (VM's) remotely . Is it possible to get the Host Cpu stat's through libvirt ?
I didn't find any information regarding the host cpu cycles and memory utilization to collect them remotely. Libvirt is installed on all the hosts.
Regards,
Navin
-------------- next part --------------
An HTML attachment
2012 Mar 06
1
[help] how can I use libvirt to get cpu usage ratio ?
hi experts:
I am a freshman of libvirt, I have got a domU's info like: libvirt.open, lookupByID, info.
But now I want to use libvirt to get a xen domU 's cpu usage ratio , how can I fulfill it ? I cannot find the API.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2014 Dec 10
1
How to use blockcopy in libvirt-java
Hi, ALL,
I just look for the class and method to use blockcopy in libvirt-java on
this page:
http://libvirt.org/sources/java/javadoc/
However, I can not find out. Libvirt-java Support blockcopy ? Thanks.
Best Regards,
Star Guo
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?
2013 May 09
1
Getting libvirt Error when setting IO tune read_bytes_sec value using libvirt API virDomainSetBlockIotune
Hi All,
I am setting the value for "read_bytes_sec" using the following API code
virDomainSetBlockIoTune(dom, "/mnt/tmpsdb/FileVM1", parainfoPtr, nparams,
2);
I am succesfully able to set this value and i can read it back using the API
virDomainGetBlockIoTune(dom,"/mnt/tmpsdb/FileVM1",parainfoPtr,&nparams,2);
But after setting this value when i shutdown
2012 Apr 08
0
NFS + sanlock problems
Hello list,
In short: I am experiencing a problem where trying to start a VM which
is allready running on a different libvirt host. Starting it fails,
thanks to sanlock, but the disk dies on the original hypervisor and the
vms filesystem is rendered read-only.
Long version:
i have the following setup:
Two machines (H1 and H2) using CentOS 6.2 with the packages:
2019 Apr 08
0
[PATCH v4 2/7] common: Bundle the libvirt-ocaml library for use by virt-v2v
Add a copy of the libvirt-ocaml library, currently available at:
https://libvirt.org/git/?p=libvirt-ocaml.git;a=summary
This is a snapshot at commit d3ed8dcf1b0a6a8a855ceecbe0bb97f21e6665e3,
which has all the features we need (and that builds fine).
It is expected to stay synchronized with upstream, until there is a new
upstream release, and it will be widespread enough.
---
.gitignore
2017 Jun 13
0
binequality - Problems with fitFunc()
binequality looks like just the package I need, specifically for obtaining Gini income coefficients for binned data.
I have upgraded to the latest version of R, the latest version of RStudio, and updated all packages. Still I have a persistent problem using fitFunc().
To keep things simple, I am testing things using the example code in the binequality manual, page 6 (or, "?fitFunc").
2013 May 31
0
Re: Fwd: Does Set Block IO tune take effect in the same session.
Hello Michal,
Throttling is working now after setting inbound.average = 10 (i have set
other values to 0 )
But i am observing an inconsistent behavior in the observed throttling
bandwidth
when i set inbound.average = 10 , i observed bandwidth of 24 kbps
when i set inbound.average = 100 , i observed bandwidth of 186 kbps
when i set inbound.average = 1024 , i observed bandwidth of 2MBps
i
2017 Jan 10
0
Re: Regarding Migration Statistics
Please, do not post to several libvirt lists at once.
> I am writing a code using libvirt API to migrate VM between two physical
> hosts *(QEMU/KVM) , *say some *n *number of times.
>
> *1)* I am using right now* virDomainPtr virDomainMigrate (.......) *and to
> calculate the total migration time I am using something like this:
>
>
2023 May 15
0
PHP API
On 5/11/23 20:19, Simon Fairweather wrote:
> Hi Michal,
>
> Would you be able to add, if there is a process you follow I can look at
> creating merge requests.
>
> Regards
> Simon
>
> int virDomainBlockPull (virDomainPtr
> <https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainPtr> dom,
> const char * disk,
> unsigned long
2013 May 28
2
Re: Fwd: Does Set Block IO tune take effect in the same session.
On 27.05.2013 12:36, vikrant verma wrote:
> Hello Michal,
>
> I am using the following code -
>
> virDomainSetInterfaceParameters(dom, "vnet0", networkParainfoPtr,
> nparams,0);
>
> before calling this i am assigning the following Inbound values
>
> inbound.average = 10 (10 kbps)
> inbound .peak = 10
> inbound.burst = 10
I suspect this way too
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
Hello all,
The itanium demangler in libcxxabi (and also, llvm/lib/Demangle) is
really slow. This is largely because the textual representation of the
symbol that is being demangled is held in a std::string, and
manipulations done during parsing are done on that string. The demangler
is always concatenating strings and inserting into the middle of
strings, which is terrible. The fact that the
2011 Apr 01
0
[GIT PULL] elflink cmdline
Hi,
The following patches are just copying some functionality that exists
in the asm cmdline code into the C version. There's still a few more
things to do but we're getting there.
The following changes since commit 8c576f1fe03e34879921311f46613a35c6530000:
Merge remote-tracking branch 'mfleming/for-hpa/elflink/fix-compiler-warnings' into elflink (2011-03-16 12:53:58 -0700)
2008 May 07
2
Inserting authenticity token into AJAX request params
Hi all. I am trying to find a way to insert an authenticity_token
into the params of an Ajax request before it gets sent.
I''ve got this much:
Ajax.Responders.register({
onLoading: function(req){
if ((req.options.method == ''post'') && !
Object.keys(req.options.parameters).include(''authenticity_token'')){
---->
2017 Oct 25
0
Re: terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd)
2017-10-24 12:58 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>:
> On Fri, Oct 20, 2017 at 10:12:19PM +0300, Matwey V. Kornilov wrote:
>>
>> 2017-10-20 17:14 GMT+03:00 Matwey V. Kornilov <matwey.kornilov@gmail.com>:
>>>
>>> 2017-10-20 15:16 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>:
>>>>
>>>> On Fri, Oct 20, 2017
2017 Oct 25
2
Re: terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd)
2017-10-25 17:28 GMT+03:00 Matwey V. Kornilov <matwey.kornilov@gmail.com>:
> 2017-10-24 12:58 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>:
>> On Fri, Oct 20, 2017 at 10:12:19PM +0300, Matwey V. Kornilov wrote:
>>>
>>> 2017-10-20 17:14 GMT+03:00 Matwey V. Kornilov <matwey.kornilov@gmail.com>:
>>>>
>>>> 2017-10-20 15:16
2010 Apr 23
1
Path simple menu integrated progress indicator
This patch modifies the simple menu com32 program to include integrated load progress. It also adds new options to the simple menu configuration
MENU LOADMSG -- allows the user to specify the text to display when loading
MENU LOADMSGROW -- controls where the text is written
Example configuration:
MENU LOADMSG Booting
MENU LOADMSGROW 25
It works with my setup, please let me know if you find