Subject: equivalent of sockstat?
To: None <>
From: Geert Hendrickx <>
List: netbsd-users
Date: 12/20/2004 11:23:41

I'm moving from FreeBSD 4.x to NetBSD 2.0...  But I'm not completely
comfortable yet.  e.g. is there an equivalent of sockstat(1) in NetBSD?
On FreeBSD, sockstat -4l lists all listening IPv4 sockets (with process,
user), sockstat -6c lists all connected IPv6 sockets, sockstat -ul lists
all listening UNIX domain sockets, etc.  

On NetBSD, netstat(1) doesn't list the process nor the user, and
fstat(1) doesn't separate listening/connected sockets.