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

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

0 (0)
Article Rating (No Votes)
Rate this article
There are no attachments for this article.
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 check the HBA status
Viewed 15402 times since Tue, May 22, 2018
Manually Editing /etc/filesystems Can Cause Issues
Viewed 4841 times since Tue, May 22, 2018
Part 2, Detailed diagnosis and troubleshooting
Viewed 2448 times since Tue, May 22, 2018
SSH-COPY-ID on AIX. SSH remote AIX’s box without password
Viewed 15073 times since Thu, Feb 21, 2019
Tunneling With SSH to Your Destination
Viewed 3724 times since Wed, May 30, 2018
Part 1, The basics of network troubleshooting
Viewed 2907 times since Tue, May 22, 2018
Trouble Shooting AIX Networking
Viewed 2239 times since Tue, May 22, 2018
How to Backup and Upgrade a Virtual I/O Server Part I
Viewed 3920 times since Wed, Jun 5, 2019
AIX: Configuring a network interface
Viewed 2744 times since Sat, Jun 2, 2018
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 71886 times since Thu, Jun 21, 2018