如何在windows系统中查看网络连接数
1、查看系统中ESTABLISHED状态的连接数
netstat -ano | find "ESTABLISHED" /cnetstat -ano | find "ESTABLISHED" /c
2、查看系统中TIME_WAIT状态的连接数
netstat -ano | find "TIME_WAIT" /cnetstat -ano | find "TIME_WAIT" /c
3、查看某个端口的连接数
netstat -ano | find "5353" /cnetstat -ano | find "5353" /c
5353表示的是某个程序监听的端口号
4、查看某个端口的连接数(ESTABLISHED状态)
netstat -ano | find "9087" | find "ESTABLISHED" /cnetstat -ano | find "9087" | find "ESTABLISHED" /c
5、查看某个端口的连接数(TIME_WAIT状态)
netstat -ano | find "9087" | find "TIME_WAIT" /cnetstat -ano | find "9087" | find "TIME_WAIT" /c
6、查看系统程序的当前的监听端口
netstat -ano | find "LISTENING"netstat -ano | find "LISTENING"