LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 08-02-2004, 11:35 PM   #1
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Active network connections


Is there a way to get detailed information about each active connection listed in netstat? By default netstat lists the following:
Code:
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
I'd like to get details like the PID that controls the connection, the amount of data that has traversed and last time the connection was used.

Linux lets me do something like 'netstat -pot'. AIX's netstat is not as forthcoming.
 
Old 08-04-2004, 03:14 PM   #2
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
lsof -i | egrep "COMMAND|UDP|LISTEN"

lsof doesn't ship on the base CDs, but it is on the Linux utilities CD that comes with AIX or downloadable from various websites.

No idea how to break down interface traffic on a per-port basis without using something like iptrace.
 
  


Reply


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
ftp confusion/want active connections servnov Linux - General 2 09-26-2004 01:48 PM
passive+active connections and fxp+glftpd NonSumPisces Linux - Newbie 0 08-27-2004 01:39 PM
iptables, nmap and active ftp connections Bug Linux - Security 3 06-14-2004 01:14 PM
GUI for active connections twistedpair Linux - Networking 3 03-30-2004 03:22 PM
Killing Active Connections Crashed_Again Linux - General 5 05-17-2003 01:48 AM


All times are GMT -5. The time now is 12:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration