Linux性能診斷工具
阿新 • • 發佈:2017-05-18
bsp juc net dstat ooo vmstat swp log 響應
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
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:網絡狀況
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
Linux性能診斷工具