AIX: How to identify the program listening in the given port
Article Number: 260 | Rating: Unrated | Last Updated: Mon, Jun 11, 2018 12:54 PM
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).
Posted - Mon, Jun 11, 2018 12:54 PM. This article has been viewed 2594 times.
Filed Under:
AIX
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Related Articles

AIX - How to monitor CPU usage
Viewed 27845 times since Fri, Jun 8, 2018
Create jfs2 logical volume on AIX
Viewed 5136 times since Thu, Feb 21, 2019
How to setup an user in AIX
Viewed 4020 times since Mon, May 28, 2018
Mirroring the rootvg Volume Group for AIX
Viewed 4167 times since Mon, May 21, 2018
AIX Encrypted File System
Viewed 6064 times since Tue, Jul 17, 2018
Undocumented AIX command lquerypv
Viewed 3821 times since Mon, Jul 16, 2018