Tune Memory Usage Run:
- ps -eo pid,ppid,rss,vsize,pcpu,pmem,cmd -ww --sort=pid
There are two useful when determining the per process memory usage are: RSS and VSIZE
A graph of RSS per unit time will show how much RAM the process is using over time.
Cacti is a complete frontend to RRDTool, it stores information to create graphs with data in a MySQL database. The frontend is PHP. Along maintaining Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering.