vmstat is nice tool which can tell you a lot about your system.If your system experience slowdowns during some period of time,then it is useful to to see what vmstat says during that time

For example to gather vmstat statistics during one hour in intervals of ten seconds and all write to file for later analyze,run

# nohup vmstat -n 10 3600 > /tmp/vmstat.txt &