Here are several commands to check memory in Linux.

free -m
cat /proc/meminfo
vmstat -s
top