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
Create memory resident filesystems (RAM disk) on AIX
Viewed 2789 times since Thu, Feb 21, 2019
AIX LVM QUORUM mysteries revealed
Viewed 3401 times since Wed, May 22, 2019
AIX Encrypted File System
Viewed 5948 times since Tue, Jul 17, 2018
Script HW/SW AIX
Viewed 9196 times since Mon, Jun 4, 2018
AIX - How to get IP and MAC address of ethernet adapter in AIX
Viewed 25636 times since Fri, Jun 8, 2018
O’Reilly’s CD bookshelf
Viewed 12722 times since Wed, Jun 27, 2018
How do I analyze and debug core files on AIX
Viewed 6614 times since Thu, Feb 21, 2019
Create jfs2 logical volume on AIX
Viewed 4963 times since Thu, Feb 21, 2019
AIX Full memory dump configure
Viewed 3428 times since Mon, Jul 16, 2018
AIX Reviewing AIX Error and Boot Logs
Viewed 2960 times since Wed, Mar 20, 2019