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
Managing System Dump Devices sysdumpdev
Viewed 3731 times since Mon, Jul 9, 2018
Topics: AIX, System Admin↑ Export and import PuTTY sessions
Viewed 3200 times since Fri, Apr 19, 2019
AIX Different Commands For Paging Space Administration swap file create
Viewed 7638 times since Thu, Aug 1, 2019
How to disable SSH cipher/ MAC algorithms for Linux and Unix
Viewed 47323 times since Fri, Aug 21, 2020
bootlist multiple boot logical volume found
Viewed 2856 times since Tue, Apr 16, 2019
AIX: Remove existing disk
Viewed 2813 times since Sun, Jun 3, 2018
Unlock User ID in IBM AIX
Viewed 15567 times since Mon, May 28, 2018
AIX rootvg Mirroring
Viewed 4786 times since Mon, May 21, 2018
AIX, Monitoring, System Admin↑ NMON recordings
Viewed 3155 times since Fri, Apr 19, 2019
Got Duplicate PVIDs in Your User VG? Try Recreatevg!
Viewed 3795 times since Fri, Feb 1, 2019