cat /proc/meminfo | egrep 'MemTotal|MemFree' | awk 'BEGIN { print "Memory Total / Free"} { $m=$2/1024; printf "%s Mb \n", $m }'
bash kb to mb
Leave a reply
cat /proc/meminfo | egrep 'MemTotal|MemFree' | awk 'BEGIN { print "Memory Total / Free"} { $m=$2/1024; printf "%s Mb \n", $m }'