Skip to content

Get current capacity ​

sh
awk '/MemTotal/ {printf( "%d\n", $2 / 1024 )}' /proc/meminfo