mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-8250: host cpu memory used reported incorrectly in host stat
This commit is contained in:
parent
bede3a87ad
commit
19f3166a3d
@ -101,7 +101,7 @@ public class HostStatsEntry implements HostStats {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public double getUsedMemory() {
|
public double getUsedMemory() {
|
||||||
return (totalMemoryKBs - freeMemoryKBs);
|
return (totalMemoryKBs - freeMemoryKBs) * 1024;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user