RedHat/Centos

关注公众号 jb51net

关闭
操作系统 > RedHat/Centos >

查看Apache的在线用户数方法

佚名

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