netstat 使用方法(一)
1:netstat -ano | find "80"查出了80 端口的连接情况
2:netstat -ano | find "80" /c 查询出netstat -ano命令结果中包含"80"的总数
3:netstat -ano|find /c ":1415 " 如果不用:拦头,空格截尾,11415、14151这类也会被统计进来的
4:netstat -n|find "ESTABLISH" /c 查询已经建立连接(ESTABLISH) 的总数
5:netstat -n|find "ESTABLISH"|find ":80" /c
查询netstat -n命令结果中包含"ESTABLISH"并且包含"80"的行数