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


发表回复

This site uses Akismet to reduce spam. Learn how your comment data is processed.