Subject: Re: equivalent of sockstat?
To: Dave Huang <khym@azeotrope.org>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: netbsd-help
Date: 12/23/2004 14:53:19
On Thu, 23 Dec 2004, Dave Huang wrote:

> On Thu, Dec 23, 2004 at 08:29:53AM -0500, Brian A. Seklecki wrote:
>> also....
>>
>> # netstat -A inet -l -n
>> Active Internet connections (only servers)
>
> Hmm...


Sorry I should've mentioned in original post.  Mine is
$ uname -rsm
NetBSD 2.99.9 i386


>
> yerfable ~# uname -rsm
> NetBSD 2.0 alpha
> yerfable ~# netstat -A inet -l -n
> netstat: -l: No such file or directory
> yerfable ~# netstat -f inet -l -n|head
> Active Internet connections
> [ ... ]
>
> Is "-l" supposed to show only listening sockets? It's not documented
> in the manpage or in the usage message, but 2.0's netstat does seem to
> accept it. I can't tell what it does though; the output of "netstat -f
> inet -n" is identical to that of "netstat -f inet -l -n" on my system.
> -- 
> 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++
>

l8*
 	-lava

x.25 - minix - bitnet - plan9 - 110 bps - ASR 33 - base8