Tips repository!
Monday, 4 February 2013
Who's using my port? (AIX)
Sometimes is very useful know what process is using a specific port. In AIX, the netstat command show you this info using the following parameters:
netstat -Aan
So, you must use grep to filter the port you are looking for.
The first column shows a hexadecimal number. Using the rmsock command with the following parameters to see the PID:
rmsock
(hexnumber) tcpcb
or udpcb
:)
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)