Commands to check memory usage on Linux
-- Check memory

free -m

cat /proc/meminfo

vmstat -s

top