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 FC Performance improvements for IBM AIX FC and FCoE device driver stacks
Viewed 4971 times since Fri, Jan 31, 2020
List of 10 Must Know Oracle Database Parameters for Database Administrator
Viewed 112424 times since Thu, Jun 21, 2018
Install and configure yum on AIX
Viewed 4064 times since Thu, Feb 21, 2019
AIX: Remove existing disk
Viewed 2275 times since Sun, Jun 3, 2018
AIX, Networking↑ Adding and deleting a static network route using the command line
Viewed 2196 times since Fri, Apr 19, 2019
Part 3, Tuning swap space settings AIX7
Viewed 8615 times since Wed, Jun 19, 2019
Writing a Custom PVID
Viewed 2487 times since Fri, Feb 1, 2019
Online Backups and Recovery in a Snap AIX
Viewed 4365 times since Wed, May 30, 2018
Secure Secure Shell
Viewed 9865 times since Fri, Aug 21, 2020
Kerberos authentication configuration for AIX servers
Viewed 10248 times since Mon, Jun 25, 2018