AIX下查看端口被哪个进程占用

1:首先根据端口号
 
netstat -Aan | grep 389
 
返回
f1000089c27a2358 tcp4 0 0 *.389 *.* LIST EN
 
2:rmsock f100089c27a2358 tcpcb
 
The socket 0x702f6800 is being held by proccess 4986 (inetd).
 
得到id为4986
IXDBA.NET技术社区
 
3:ps -ef |grep 4986
 
即可看到是什么进程。

posted @ 2016-06-28 09:09  若晨~  阅读(550)  评论(0)    收藏  举报