On 9/16/2015 5:24 AM, Abhishek Talwar wrote:
Hi Folks,
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
Abhishek Talwar
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_______________________________________________
OpenStack-operators mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
The server diagnostics API in nova would also provide memory usage:
/v2/{tenant_id}/servers/{server_id}/diagnostics
In stable/kilo the code for that is here:
https://github.com/openstack/nova/blob/stable/kilo/nova/api/openstack/compute/contrib/server_diagnostics.py
Note that in the v2 API the diagnostics returned from the API is
different depending on the backing hypervisor.
In the v2.1 API there is a uniform diagnostics dict returned which is
virt-driver agnostic. In v2.1 you get a serialized form of this
Diagnostics object:
https://github.com/openstack/nova/blob/stable/kilo/nova/virt/diagnostics.py#L93
--
Thanks,
Matt Riedemann
_______________________________________________
OpenStack-operators mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators