查看端口

windows 查看端口

C:\Windows\system32>netstat -aon|findstr "9092"
  TCP    127.0.0.1:9092         0.0.0.0:0              LISTENING       2528

9092端口被进程2528占用

 

aix查看端口

/home>netstat -Ana|grep 8080
f1000e2213a223b0 tcp        0      0  *.8080             *.*                LISTEN

/home>rmsock f1000e2213a223b0 tcpcb
The socket 0x13a22008 is being held by proccess 1001 (java).

/home>ps -ef|grep 1001

你可能感兴趣的:(端口)