Displaying 2 results from an estimated 2 matches for "getmemorystat".
Did you mean:
getmemorystats
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 "/usr/lib64/pyt...
2018 Mar 08
1
Statistics domain memory block when domain shutdown
...etClientProgramCall () from /lib64/libvirt.so.0#5 0x00007ff24372d392 in callFull.isra.3 () from /lib64/libvirt.so.0
#6 0x00007ff24373b8a1 in remoteDomainMemoryStats () from /lib64/libvirt.so.0
#7 0x00007ff2436f14e2 in virDomainMemoryStats () from /lib64/libvirt.so.0
#8 0x00007ff22ee975c2 in VM::getMemoryStats (this=0x7ff1d4064ae0,
Begin I think is my program problem, But when I use virsh domstats cmd , The cmd block too. In my program, I set timeout event for virConnectPtr. But my program blocked all the time. I find my system log, I find some libvirtd error:
libvirtd: 2018-03-08 04:25:13.144+0...