The way I would do it, is as follows:
1. login as root
2. run netstat -Aan | grep LISTEN
you will see something similar to the following:
# netstat -Aan | grep LISTEN
f1f302506b58 tcp4 0 0 *.13
*.*LISTEN
f1f302502358 tcp0 0 *.21
I could find this given the time but time is not on my side right now.
Anyone recall the program on AIX that tells which program has a particular
socket open?
-Kevin
http://www.PrecisOnline.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit
Hi Kevin
Netstat - a (overall)
Netpmon for stats per process ?
From memory so may be wrong
Brian
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: 15 September 2008 16:20
To: u2-users@listserver.u2ug.org
Subject: [U2] AIX Socket
lsof
But this is not installed automatically as part of AIX's (Base Operating
System). Prior to AIX 6.1, I believe this program is on the Toolbox for
Linux DVD, at 6.1, I understand it moved to the AIX Expansion Pack DVD.
You'll need the AIX DVDs and smitty install. Alternatively, this is an
Kevin:
In order to view sockets use the netstat command. For example to see what ones
are listening on a port for activity type:
netstat -an | grep LISTEN
If you need to map the socket to a process ID take a look at the IBM Technote
TCP/IP Utilities for Mapping Sockets to Process ID.