LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


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

Rep: Reputation: 41
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, 10:17 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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.
 
  


Reply



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 04:39 AM
telnetd all network ports in use xneo70 Linux - Newbie 1 05-13-2008 07:52 PM
adding network ports guy_ripper Linux - Networking 1 12-18-2006 10:02 AM
Explaination of network scan ports. NuxIT Linux - Networking 1 06-17-2006 10:21 AM
how to find network ports smita Linux - Networking 2 06-09-2004 10:04 AM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 02:16 AM.

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