Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 1998 09:00:34 +0200 (CEST)
From:      Andrzej Bialecki <abial@nask.pl>
To:        Mike Smith <mike@smith.net.au>
Cc:        Jerome DE VIVIE <jerome@DotCom.FR>, freebsd-small@FreeBSD.ORG
Subject:   Re: netstat with a kernel.kz 
Message-ID:  <Pine.BSF.4.00.9807230854090.21583-100000@korin.warman.org.pl>
In-Reply-To: <199807230010.RAA02415@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 22 Jul 1998, Mike Smith wrote:

> > Hi,
> > 
> > I have to put up a very small system which need kernel symbols. I use 
> > dumpnlist, kvm_mkdb, and ROOTMFS from picobsd. I zip all .
> > 
> > Some fuction like kvm_openfiles need the uncompressed /kernel file and,
> > i have to run netstat which call kvm_openfiles => problem !
> > 
> > I have put up a /var/db/kvm_kernel.db and i would like to use it 
> > instead of the uncompressed /kernel (with the whole MFS inside).
> > 
> > Is it possible ? and how ?
> 
> The correct fix would be to fix netstat to not require this.  We would 
> be happy to accept patches. 8)
> 
> You could also try linking /kernel to /dev/kmem, but I am thinking 
> that's a bit optomistic...

I'm kind of working on this now... I mean, the simplified version of
netstat which doesn't stick its little fingers into kernel's brains...

I have some working code already (dumping the routing table), the
statistics part is much easier than that; well, it just needs some time,
and this is a scarce resource for me at the moment... If you want to play
with it, I can send you what I've got so far...

Andrzej Bialecki

+---------------------+------------------------+--------------------------+
| <abial@nask.pl>     | When in problem or in  |  if(halt_per_mth > 0) {  |
| Research & Academic | doubt, run in circles, |      fetch("FreeBSD");   |
| Network in Poland   | scream and shout.      |  }                       |
+ --------------------+------------------------+--------------------------+


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.00.9807230854090.21583-100000>