linuxatemyram.com
linuxatemyram.com copied to clipboard
Command to see available ram
Older version of free dont show available ram, so this command can be used:
cat /proc/meminfo | grep '^MemAvailable:' | awk '{print $2/1024}'
Maybe you want to add it.
MemAvailable probably isn't available where older versions of free run:
# grep '^MemAvailable:' /proc/meminfo
#
# free -V
procps version 3.2.8
# uname -r
2.6.32-573.el6.x86_64