Wednesday 18 September 2013

AIX: Determine which process is using a specific network port on AIX

bahix09:/r12apps/apps11i/fmsprodora/8.0.6>netstat -Aan|grep 9510
f1000e00007b3bb0 tcp        0      0  *.9510             *.*                LISTEN

bahix09:/r12apps/apps11i/fmsprodora/8.0.6>rmsock f1000e00007b3bb0 tcpcbThe socket 0x7b3808 is being held by proccess 1573080 (java).

bahix09:/r12apps/apps11i/fmsprodora/8.0.6>ps -ef | grep 1573080

Number of Visitors