Displaying 2 results from an estimated 2 matches for "virdomainstate".
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 domain unsigned long long cpuTime : //the CPU time used in nanoseconds }
If a domain is assigne...
2014 Aug 04
0
"virsh list" doesn't show correct state in case of no reply from Guest OS
...OS,
while qemu process was dumping a corefile.
So I guess the process was dying at that time.
I'm sure the command shouldn't show "running" state because the process was not running.
I believe that "crushed" or "shut off" are better than "running" in virDomainState.
Please see: http://libvirt.org/html/libvirt-libvirt.html
I'd like to hear your thinking.
Best Regards,
Koji