Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2001 14:18:18 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Bill Fenner <fenner@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/netstat mroute.c src/sys/kern sys_socket.c src/sys/modules Makefile src/sys/modules/ip_mroute_mod Makefile src/sys/net route.c route.h src/sys/netinet ip_encap.c ip_mroute.c ip_mroute.h
Message-ID:  <20010806141818.B23195@sunbay.com>
In-Reply-To: <200107252015.f6PKFn271754@freefall.freebsd.org>; from fenner@FreeBSD.org on Wed, Jul 25, 2001 at 01:15:49PM -0700
References:  <200107252015.f6PKFn271754@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 25, 2001 at 01:15:49PM -0700, Bill Fenner wrote:
> fenner      2001/07/25 13:15:49 PDT
> 
>   Modified files:
>     usr.bin/netstat      mroute.c 
>   Log:
>   Use sysctl to export multicast routing stats
>   
>   Revision  Changes    Path
>   1.17      +14 -6     src/usr.bin/netstat/mroute.c
> 
sysctl(3) interface can only be used to access data from the
running kernel.  This change also breaks -M support for -gs.
Using kvm path is still useful when examining data from the
kernel's core file.  This is already implemented for the mbuf
statistics (-m).  It first checks to see if the -M in effect
or not, and mbpr() uses either sysctl(3) or kread() version,
respectively.


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010806141818.B23195>