Subject: Re: equivalent of sockstat?
To: Brian A. Seklecki <lavalamp@spiritual-machines.org>
From: Dave Huang <khym@azeotrope.org>
List: netbsd-help
Date: 12/23/2004 14:19:06
On Thu, Dec 23, 2004 at 02:53:19PM -0500, Brian A. Seklecki wrote:
> Sorry I should've mentioned in original post. Mine is
> $ uname -rsm
> NetBSD 2.99.9 i386
While I don't have -current running on a system I can get to
conveniently right now, I do have -current source, and as far as I can
tell, the string "(only servers)" isn't present in -current netstat.
For example, v1.63 of src/usr.bin/netstat/inet.c:
printf("Active Internet connections");
if (aflag)
printf(" (including servers)");
putchar('\n');
So, I'm still puzzled as to how to get the:
Active Internet connections (only servers)
that you got...
--
Name: Dave Huang | Mammal, mammal / their names are called /
INet: khym@azeotrope.org | they raise a paw / the bat, the cat /
FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 29 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++