-   AIX (
-   -   Active network connections (

crabboy 08-03-2004 12:35 AM

Active network connections
Is there a way to get detailed information about each active connection listed in netstat? By default netstat lists the following:

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.

iainr 08-04-2004 04:14 PM

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.

All times are GMT -5. The time now is 07:27 PM.