*BSD News Article 2220


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!mcsun!sunic!ugle.unit.no!spurv.runit.sintef.no!he
From: Havard.Eidnes@runit.sintef.no (Havard Eidnes)
Subject: netstat from NET2 ported
Message-ID: <1992Jul21.215716.267@ugle.unit.no>
Originator: he@spurv.runit.sintef.no
Sender: news@ugle.unit.no (NetNews Administrator)
Organization: Computing Center at the University of Trondheim, Norway
Date: Tue, 21 Jul 92 21:57:16 GMT
Lines: 16

Hi,

I've ported netstat from NET2 to 386bsd version 0.1. The changes are mostly
involved with inserting #ifdefs for ISO, NS and IMP at the relevant places
("removing" that code, essentially), not compiling some of the modules
(although the source remains toghether with comments in the Makefile) plus
modifying the "unixpr()" routine in unix.c to traverse the open file table
the new way.  The "netstat -r" output looks a bit odd (although I guess this
is the "new way"?), but gives the right information.

The source and binary is available with anonymous ftp from ugle.unit.no (for
lack of a better place) in the pub/unix/386bsd/ directory as netstat-bin.tar.Z 
and netstat-src.tar.Z.  Unpack the source from /usr/src and the binary and
formatted man page (as root) from /.  Use binaries at own risk ;-)

- Havard