1)查看1660端口的使用PID
C:\Documents and Settings\ricky>netstat -ano | findstr "1660" // “”中大小写敏感
TCP 192.168.1.6:1660 184.31.35.51:443 ESTABLISHED 152
可以 netstat -ano | findstr "1660" | findstr "TIME_WAIT"
2)查看PID 152的进程名称tasklist | findstr "152"
wmiprvse.exe 152 Console 0 6,220 K
C:\Documents and Settings\ricky>netstat -ano | findstr "1660" // “”中大小写敏感
TCP 192.168.1.6:1660 184.31.35.51:443 ESTABLISHED 152
可以 netstat -ano | findstr "1660" | findstr "TIME_WAIT"
2)查看PID 152的进程名称tasklist | findstr "152"
wmiprvse.exe 152 Console 0 6,220 K