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, Security, System Admin Difference between sticky bit and SUID/GUID
Viewed 9920 times since Fri, Apr 19, 2019
AIX, Storage, System Admin↑ Identifying a Disk Bottleneck Using filemon
Viewed 10867 times since Fri, Apr 19, 2019
How to deal with performance monitoring in AIX ?
Viewed 8626 times since Fri, May 25, 2018
AIX www web Links
Viewed 4123 times since Fri, Apr 19, 2019
How to check dual path in AIX
Viewed 15505 times since Fri, Jun 8, 2018
AIX Replacing a failed disk (rootvg)
Viewed 10084 times since Tue, Jul 17, 2018
How to disable SSH cipher/ MAC algorithms for Linux and Unix
Viewed 50947 times since Fri, Aug 21, 2020
Mirroring session (TTY) on AIX using portmir
Viewed 10380 times since Thu, Feb 21, 2019
Working with Virtual media library on VIO servers
Viewed 18035 times since Thu, Feb 21, 2019
AIX, Installation, NIM↑ Creating an LPP source and SPOT in NIM
Viewed 16296 times since Fri, Apr 19, 2019