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
Configuration of AIX Fast Connect and SMBFS
Viewed 8008 times since Mon, Jun 18, 2018
Secure Secure Shell
Viewed 10060 times since Fri, Aug 21, 2020
AIX, Networking↑ Adding and deleting a static network route using the command line
Viewed 2325 times since Fri, Apr 19, 2019
The new VIOS performance advisor tool part util
Viewed 2928 times since Tue, Jun 4, 2019
Troubleshooting Starts With Understanding Your Physical Disks’ Attributes
Viewed 3411 times since Sat, May 19, 2018
Mount CD/DVD & ISO image in AIX 6.1
Viewed 3688 times since Tue, Jul 17, 2018
A tcpdump Tutorial and Primer with Examples
Viewed 4513 times since Sun, Jun 17, 2018
Reconfigure RSCT ID to fix DLPAR issues on cloned AIX systems
Viewed 13110 times since Thu, Feb 21, 2019
How to Backup and Upgrade a Virtual I/O Server Part I
Viewed 4081 times since Wed, Jun 5, 2019
Understanding dump devices sysdumpdev
Viewed 4194 times since Mon, Jul 9, 2018