閱讀189 返回首頁    go 技術社區[雲棲]


Windows 命令集合

查看端口占用

查看8080端口使用情況:

C:\>netstat -aon|findstr "8080"

結果:TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       8148


查看進程:
C:\>tasklist|findstr "8148"
結果:tomcat6.exe                   8148 Services                   0     57,184 K

結束該進程:
C:\>taskkill /f /t /im tomcat6.exe

參考:https://www.iteye.com/topic/1117270

最後更新:2017-04-03 16:48:47

  上一篇:go c++實現一個自殺程序
  下一篇:go NOD 1147 還原連分數