How to display available RAM in MB in Linux

Here is simple one -line [easyazon-link asin=”1450588301″ locale=”us”]command line[/easyazon-link] that you can use to display the available RAM in MB on your [easyazon-link asin=”1118004426″ locale=”us”]Linux[/easyazon-link] system.

root@localhost# cat /proc/meminfo | awk 'match($1,"MemTotal") ==1 {print $2/1024}'

The output will be now showing the available RAM  in MB.

[easyazon-image align=”none” asin=”0131367366″ locale=”us” height=”160″ src=”” width=”128″]

Leave a Reply