how to get memory usage of an instance

asked 2015-09-16 05:20:50 -0600

abhishek-talwar gravatar image

I have an OpenStack kilo setup and I am trying to get the memory usage of the instances created in it.

I researched and found that ceilometer has a meter called "memory.usage" that can give us the memory utilization of an instance. However, on doing ceilometer meter-list it does not list "memory.usage" as a meter. After searching I found that this problem is being faced by many contributors and a possible solution is changing nova configurations that does not help.

So can you help me with some other possible solution that can help me in finding an instance's current memory utilization. I am working with something that would require getting the memory and disk utilization.

Please provide a solution for this.

Thanks and Regards

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-16 10:01:37 -0600

johanno gravatar image

Check that you have instance_usage_audit=True in /etc/nova/nova.conf. You must be running libvirt 1.1.1+ and qemu 1.5+, and memory usage will only report if the OS supports memory ballooning,

On my test environment, Cirros does not report memory.usage, however a Centos instance does.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-09-16 05:20:50 -0600

Seen: 1,764 times

Last updated: Sep 16 '15