Review your favorite Linux distribution.
Go Back > Forums > Other *NIX Forums > AIX
User Name
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.


  Search this Thread
Old 06-08-2008, 09:41 AM   #1
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 548

Rep: Reputation: 40
Network Ports

Is there anyway i can see if there are requests coming to my (AIX 5.1) server on a specific port?

If i do

netstat |grep 4500

I get

tcp4 0 0 app1234.4500 *.* LISTEN

and if i telnet to the box on 4500 it responds but i cannot tell if there active requests and how often they are.

Thanks a ton!
Old 06-08-2008, 11:17 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,075
Blog Entries: 14

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
See if "lsof" is available for AIX. It is for Linux, HP-UX and Solaris but I've not used it on AIX.

You can type "lsof -i :<port>"
after it is installed to see what is using that port.

lsof has tons of uses (its name = list open files - sockets are considered file handles) other than the above.

Note there are some things lsof may not show. If you go to its home page and read the faq it will tell you what they are but for most purposes it works just fine.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having 2 network ports with specific gateway Swakoo Linux - Networking 4 06-03-2008 05:39 AM
telnetd all network ports in use xneo70 Linux - Newbie 1 05-13-2008 08:52 PM
adding network ports guy_ripper Linux - Networking 1 12-18-2006 11:02 AM
Explaination of network scan ports. NuxIT Linux - Networking 1 06-17-2006 11:21 AM
how to find network ports smita Linux - Networking 2 06-09-2004 11:04 AM > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 10:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration