linux 命令:
netstat -na|grep ESTAB|grep tomcat端口号|wc -l
windows 命令:
netstat -ano|findstr ESTABLISHED |findstr tomcat端口号 |find /c /v ""
linux 命令:
netstat -na|grep ESTAB|grep tomcat端口号|wc -l
windows 命令:
netstat -ano|findstr ESTABLISHED |findstr tomcat端口号 |find /c /v ""