free -hMemory and swap usage in human-readable units. “available” is the realistic figure for new programs.
Shows total, used and available memory and swap.
sudo apt install procpsfree -hMemory and swap usage in human-readable units. “available” is the realistic figure for new programs.
free -mValues in mebibytes.
free -gValues in gibibytes.
free -h -tAdds a total row for RAM plus swap.
free -h -s <seconds>Refreshes every n seconds.
Example
free -h -s 2free -h -wWide mode: separates buffers from cache.