I think I may have a memory leak in my LAMP application (memory gets used up, swap starts getting used, etc.). If I could see how much memory the various processes are using
Use top or htop and pay attention to the "RES" (resident memory size) column.
top
htop