Monitoring MEMORY Utilization
*******************************
You get the details of free RAM memory space using the "free" command.
free -m
total used free shared buffers cached
Mem: 440 433 6 0 11 86
-/+ buffers/cache: 335 104
Swap: 1027 35 991

Also to list processes by memory usage
-----------------------------------------------------------------------------------------
[support@m10 support]$ ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS
0 [bdflush]
0 [keventd]
0 [khubd]
0 [kjournald]
0 [kjournald]
0 [kscand/DMA]
0 [kscand/HighMem]
0 [kscand/Normal]
0 [ksoftirqd_CPU0]
0 [kswapd]
0 [kupdated]
0 [mdrecoveryd]
352 /sbin/mingetty tty1
352 /sbin/mingetty tty2
352 /sbin/mingetty tty3
352 /sbin/mingetty tty4
352 /sbin/mingetty tty5
352 /sbin/mingetty tty6
372 klogd -x
408 /usr/bin/rsync --daemon
444 init
520 /usr/sbin/atd
532 crond
568 portmap
572 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
680 ps -e -orss=,args=
732 syslogd -m 0 -r
964 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/m
1240 /usr/sbin/sshd
1456 -bash
1500 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-fi
1732 /usr/sbin/snmpd -s -l /dev/null -P /var/run/snmpd -a
1756 vim readme
1760 vim /var/log/mail/maillog.1.gz
1776 vim kichu
1780 vim /var/log/mail/maillog.53.gz
1792 vim README
1804 vim abdulk.sh
1804 vim test.sh
1124 /usr/sbin/sshd
2116 /usr/sbin/sshd
2828 named -u named
[support@m10 support]$