首页 > 代码库 > 计算机端口监测
计算机端口监测
netstat -aon | findstr "5037"
tasklist | findstr "5300"
cmd 在属性设置里面调整显示行数
--------------------------------------------------------------------------------------
【simple】
netstat -aon | findstr "49264"
TCP 127.0.0.1:8700 0.0.0.0:0 LISTENING 5300
TCP 127.0.0.1:10230 0.0.0.0:0 LISTENING 5440
TCP 127.0.0.1:49162 127.0.0.1:49163 ESTABLISHED 4004
TCP 127.0.0.1:49163 127.0.0.1:49162 ESTABLISHED 4004
TCP 127.0.0.1:49164 0.0.0.0:0 LISTENING 4004
TCP 127.0.0.1:49164 127.0.0.1:49165 ESTABLISHED 4004
TCP 127.0.0.1:49165 127.0.0.1:49164 ESTABLISHED 4004
TCP 127.0.0.1:49264 127.0.0.1:49265 ESTABLISHED 5300
TCP 127.0.0.1:49265 127.0.0.1:49264 ESTABLISHED 5300
tasklist | findstr "5300" eclipse.exe 5300 Console 1 370,180 K
计算机端口监测