Subject: Re: IPport-PID tool
To: None <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 04/24/2002 13:51:00
On Wed, Apr 24, 2002 at 06:45:58PM +0100, email@example.com wrote:
>on Wed, Apr 24, 2002 at 07:21:57PM +0200, Pierre Bourgin wrote:
>> the command 'netstat -a -f inet' shows me all IP ports used on a machine
>> (server & clients connections), but I don't know which process (or PID) is
>> "using" a certain IP port (like port 32xxx is used by PID 1234, which is
>> the netscape program of user foo said 'ps' output).
>> Is there a command or an option of netstat in order to get that information
>> ? I went into man pages for a while but nothing lighted me :(
>Try using fstat(1).
or lsof from pkgsrc.
|-----< "CODE WARRIOR" >-----|
firstname.lastname@example.org * "ah! i see you have the internet
email@example.com (Andrew Brown) that goes *ping*!"
firstname.lastname@example.org * "information is power -- share the wealth."