Linux performance tuning

dstat -cmsdltn 1 |tee /tmp/dstat.data

Run the above through gplot to trace it.

iotop 
atop 
vmstat 1 
iostat 1 
lsof 
strace -e trace=open <application> 
strace -e trace=open -p <pid>