Subject: Re: IPport-PID tool
To: Pierre Bourgin <>
From: None <>
List: tech-net
Date: 04/24/2002 18:45:58
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).