查询服务器http请求各种状态数量

netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'

posted @ 2018-12-21 10:23  少云锋儿  阅读(280)  评论(0)    收藏  举报