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
How to check VLAN ID number on AIX?
Viewed 15467 times since Mon, May 28, 2018
IP configuration in AIX
Viewed 3750 times since Tue, Jul 17, 2018
How to deal with performance monitoring in AIX ?
Viewed 8462 times since Fri, May 25, 2018
Tuning AIX Network Performance
Viewed 4896 times since Tue, May 22, 2018
Undocumented AIX command lquerypv
Viewed 4438 times since Mon, Jul 16, 2018
Trouble Shooting AIX Networking
Viewed 3190 times since Tue, May 22, 2018
How to Backup and Upgrade a Virtual I/O Server Part I
Viewed 5524 times since Wed, Jun 5, 2019
AIX Resolving "missing" or "removed" disks in AIX LVM
Viewed 5770 times since Tue, Aug 6, 2019
AIX LVM QUORUM mysteries revealed
Viewed 4060 times since Wed, May 22, 2019
AIX check the HBA status
Viewed 18018 times since Tue, May 22, 2018