查看当前系统中占用物理内存最多的进程
watch -n 10 "ps -eo pid,user,%cpu,%mem,rss,vsz,sz,comm,args | sort -k5 -n -r |head -15"
查看磁盘IO
iostat -d -x -h xvda 2
netstat -ntu | grep ESTAB | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr
netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1