Subject: Re: process name in netstat
To: Emmanuel Dreyfus <manu@netbsd.org>
From: James Graham <greywolf@starwolf.com>
List: tech-userlevel
Date: 08/25/2001 02:35:07
On Sat, 25 Aug 2001, Emmanuel Dreyfus wrote:

# Date: Sat, 25 Aug 2001 11:24:05 +0200
# From: Emmanuel Dreyfus <manu@netbsd.org>
# To: tech-userlevel@netbsd.org
# Subject: process name in netstat
#
# It seems Solaris and Linux have a flag to get netstat displaying the
# process that owns each socket displayed. I wonder if this could be a
# wanted feature for NetBSD
#
# If it is, I'll implement it, but I wonder where I can find the proces
# owning a socket, there is no pointer to a struct proc in struct
# socket... Suggestions?

I think more than the process NAME owning a particular socket, the PID
owning a particular socket would be more useful.

				--*greywolf;
--
NetBSD: The Power of Code.