Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (23 sloc) 323 Bytes

Windows

netstat -ano | findstr "5037"

查询出 某些 PID_A:

tasklist /FI "PID eq PID_A"
Rem 或者
tasklist | findstr PID_A

Linux

  • Approach 1:
lsof -i:5037

查询出 某些 PID_A:

ps -ef | grep PID_A
  • Approach 2:
sudo netstat -tlnp | grep 5037