mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Fix vCenter VM poll bug
This commit is contained in:
1 parent
4f17903404
commit
fb77e34442
1 file changed
+1
-1
@@ -1667,7 +1667,7 @@ class VCenterVm
|
||||
end
|
||||
|
||||
@used_memory = @summary.quickStats.hostMemoryUsage * 1024
|
||||
cpuMhz = host.cpumhz
|
||||
cpuMhz = @vm.runtime.host.cpumhz
|
||||
|
||||
@used_cpu =
|
||||
((@summary.quickStats.overallCpuUsage.to_f / cpuMhz) * 100).to_s
|
||||
|
||||
Reference in new issue
Block a user