查看服务器不同状态的连接
netstat -n | awk '/^tcp/ {++y[$NF]} END {for(w in y) print w, y[w]}'
查看服务器的连接数
netstat -nat|grep "tcp"|awk ' {print$5}'|awk -F : '{print$1}'|sort|uniq -c|sort -rn
arthas 火焰图
curl -O https://arthas.aliyun.com/arthas-boot.jar
java -jar arthas-boot.jar
profiler start
profiler stop --file xxxx.svg