Subject: Re: Something strange with netstat command
To: Martin Husemann <martin@duskware.de>
From: Daniel K. <dklima@gmx.net>
List: current-users
Date: 12/27/2003 20:53:58
Thanks for the hint Martin...


----- Original Message -----
From: "Martin Husemann" <martin@duskware.de>
To: "Daniel K." <dklima@gmx.net>
Cc: <current-users@netbsd.org>
Sent: Saturday, December 27, 2003 8:32 PM
Subject: Re: Something strange with netstat command


> On Sat, Dec 27, 2003 at 03:33:44PM -0200, Daniel K. wrote:
> > Oka, when I execute netstat -an I got that strange output...
>
> This typically happens when your kernel is newer than your userland. A few
> utilities (like netstat) look at kernel memory and try to interpret it.
Some
> have been fixed (ps, top) to use sysctl instead, if operating on the life
> kernel.
>
> Now if some data structure relevant for the statistics the tool gets is
changed
> in the kernel, old userland utilities can no longer access them.
Rebuilding
> userland should fix this.
>
> Martin
>