I have a linux webserver. It's running Apache and a python based web application and postgres. It's quite slow. By running
ab (apache benchmark) and
vmstat I could see that it was swapping while requests were coming in.
Is there any programme that will dynamically tell me which processes are causing this swappyness?