This is a copy/paste from different posts on IBM forums.
1. Add the -A argument to the "netstat" command and then use that output as an argument to the rmsock command to find the PID of the process using the port.
f1000e0000aa13b8 tcp 0 0 *.7778 *.* LISTEN
2. Execute command "rmsock" to remove a socket that does not have a file descriptor.
oracle@oraforms1> rmsock f1000e0000aa13b8 tcpcb
The socket 0xf1000e0000aa1008 is being held by proccess 4718790 (httpd.worker).
3. Execute "ps" for looking after PID.
oracle@oraforms1> ps -ef|grep 4718790
oracle 4718790 9044154 0 08:33:36 - 0:00 /u01/oracle/MWohs/Oracle_WT1/ohs/bin/ httpd.worker -DSSL
Reference: http://www.unix.com/aix/136695-how-find-what-process-using-port-aix-5l-above.html
No comments:
Post a Comment