linuxatemyram.com icon indicating copy to clipboard operation
linuxatemyram.com copied to clipboard

Command to see available ram

Open mueller-ma opened this issue 8 years ago • 1 comments

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.

mueller-ma avatar Nov 04 '17 09:11 mueller-ma

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

macau23 avatar Jun 04 '20 12:06 macau23