获取指定端口的连接数

windows 2003查看80端口方法

在cmd命令提示符上输入netstat -an |find /c ":80"    

出来的数字应该就是连接数

linux 连接数查看外部 如何查80端口

统计80端口连接数

netstat -nat|grep -i "80"|wc -l

2)统计httpd协议连接数

ps -ef|grep httpd|wc -l

原文地址:https://www.cnblogs.com/djzny/p/4950159.html