Linux性能诊断工具

vmstat:虚拟内存状况
swpd   free  buff  cache   si  so   in   cs
參考:http://www.cnblogs.com/ggjucheng/archive/2012/01/05/2312625.html

iostat:io状况
avgqu-sz   await svctm
參考:http://blog.csdn.net/dbanote/article/details/17784429

mpstat: cpu状况
sys usr iowait
參考:http://blog.csdn.net/evils798/article/details/7524474

ifstat:网络状况
in  out

dstat:全部资源统计汇总
资源汇总
參考:http://blog.csdn.net/yuandianlws/article/details/7004364

tcpstat: 查看某个tcpport的响应时间
tcprstat -lxxx.xxx.xxx.xxx -p 3306  -t 1 -n 0 
參考:http://my.oschina.net/moooofly/blog/157063

tcpdump: 抓包
tcprstat -l xxx.xxx.xxx.xxx -p 3306  -t 1 -n 0 

posted @ 2017-05-18 20:37  cxchanpin  阅读(200)  评论(0编辑  收藏  举报