mirror of https://github.com/apache/cloudstack.git
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
|
||||
public double getUsedMemory() {
|
||||
return (totalMemoryKBs - freeMemoryKBs);
|
||||
return (totalMemoryKBs - freeMemoryKBs) * 1024;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue