Date: Sun, 10 Apr 2005 23:23:41 +0200 From: Danny Pansters <danny@ricin.com> To: freebsd-questions@freebsd.org Subject: Re: Question about processes Message-ID: <200504102323.42107.danny@ricin.com> In-Reply-To: <20050410211318.GP23009@weller-fahy.com> References: <20050410211318.GP23009@weller-fahy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 10 April 2005 23:13, David J. Weller-Fahy wrote: > How does one determine which process initiated any given network > connection? Or which program (on disk) initiated the process that > initiated the network connection? > > Been searching, but not finding. > > Regards, sockstat will show you all network and unix sockets and the processes and their PIDs. If you want to know more such as the full path or so (if used when invoked), you can run ps wwwaux and grep on the PID. HTH, Dan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504102323.42107.danny>