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 - How to monitor memory usage
Viewed 5594 times since Fri, Jun 8, 2018
LVM: Display basic information about Physical Volumes, Volume Groups and Logical Volumes
Viewed 3012 times since Sun, Jun 3, 2018
AIX boot proccess
Viewed 3161 times since Tue, Apr 16, 2019
Aix: How to assign a specific PVID
Viewed 7624 times since Fri, Feb 1, 2019
IBM V7000f Performance Test with Vdbench Tool on IBM AIX
Viewed 16191 times since Thu, Jan 23, 2020
AIX lsdevinfo
Viewed 10409 times since Mon, Jun 3, 2019
Part 2, Detailed diagnosis and troubleshooting
Viewed 2900 times since Tue, May 22, 2018
AIX: How to manage network tuning parameters
Viewed 3952 times since Mon, Jun 11, 2018
Tunneling With SSH to Your Destination
Viewed 4443 times since Wed, May 30, 2018
AIX NTP Client configuration
Viewed 12191 times since Tue, Jul 17, 2018