How to find Total Memory in Each of your Compute Nodes – Openstack

The following command will fetch teh Total Memory installed in your compute nodes

for i in $(nova host-list | grep compute | awk {‘print $2’}); do echo $(($(nova host-describe $i | grep total | awk {‘print $8’})/1024)); done

stacker has written 18 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Humans Only. * Time limit is exhausted. Please reload the CAPTCHA.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>