Monitoring memory usage

cat /proc/meminfo
vmstat -s