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

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

猜你喜欢

转载自www.cnblogs.com/zjf1990/p/10154239.html