cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ng'ang'a Kioi" <>
Subject Cloudstack VM memory reporting
Date Sat, 27 Jul 2019 10:54:19 GMT
Hi everyone,

I'm trying to look at how cloudstack gathers VM statistics and particularly
memory stats.
Looking at the list virtualmachines api, the following stats are returned
for a sample VM
"memory": 1024,
"memoryintfreekbs": 1251804,
"memorykbs": 1048576,
"memorytargetkbs": 1048576,

Based on the api docs
memory- the memory allocated for the virtual machine
memoryintfreekbs- the internal memory thats free in vm
memorykbs- the memory used by the vm
memorytargetkbs- the target memory in vm

As indicated, memorykbs and memorytargetkbs cannot have the same values.

Looking at the codebase, it seems that these values are recieved from the
StatsCollector class. Is this correct? If so, could the error be
originating from the below?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message