I like lsof for this purpose.  You can see which processes have which
filehandles and ports open to which hosts.  It is an excellent utility.

ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/README

--
Jeremiah Wilton
http://www.speakeasy.net/~jwilton

On Thu, 31 May 2001, Mohan, Ross wrote:

> you could also look into using
> the /proc filesystem.
>
> that's what it's there for....sorry, but
> this'll be another RTFM drill, I don't
> have my unix web site available for easy
> clicking.
>
> || -----Original Message-----
> || From: Kevin Lange [mailto:[EMAIL PROTECTED]]
> ||
> || You might try the netstat and the fuser commands.
> ||
> || I believe netstat -a will give you all the ports in use and
> || fuser will tell
> || you what processes have the files open in the current directory.
> ||
> || -----Original Message-----
> ||
> || This is an off topic, UNIX question.
> ||
> || Can any one please tell me how to get the Unix File Open and
> || Port Open in
> || SCO or AIX, or SUN? I am not sure whether they are part of
> || sar output, so
> || please help. I am not sure whether I can get this kind of
> || information.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jeremiah Wilton
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to