AIX: How to identify the program listening in the given port

METHOD I: # lsof –P –n –i :505 (for port 505)
METHOD II:
# netstat -Aan|grep 9404
f100060006952b98 tcp 0 0 *.9404 *.* LIST
EN
f100060006a90b98 tcp 0 0 *.19404 *.* LIST
EN
# rmsock f100060006952b98 tcpcb
The socket 0x6952808 is being held by proccess 753870 (java).

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
AIX, Monitoring, Networking, Red Hat, Security, System Admin↑ Determining type of system remotely
Viewed 3388 times since Fri, Apr 19, 2019
Setting new device attributes with chdef
Viewed 3502 times since Mon, Jun 3, 2019
Using expect to automate mundane tasks
Viewed 2899 times since Mon, Jun 3, 2019
AIX, System Admin↑ The chrctcp command
Viewed 4103 times since Fri, Apr 19, 2019
Troubleshooting Starts With Understanding Your Physical Disks’ Attributes
Viewed 5430 times since Sat, May 19, 2018
Remove disk from volumegroup in AIX
Viewed 8597 times since Tue, Apr 16, 2019
Installing a Interim Fix (APAR IV16587)
Viewed 4099 times since Tue, Jul 17, 2018
Tunneling With SSH to Your Destination
Viewed 5857 times since Wed, May 30, 2018
Checking HBA status on AIX
Viewed 20396 times since Fri, Oct 5, 2018
ILMT Procedure - ILMT / TAD4D / SUA / BFI
Viewed 11451 times since Fri, Jul 5, 2019