Re: sed not working on /proc files

Andi Kleen (ak@muc.de)
Tue, 4 May 1999 17:43:22 +0200


On Tue, May 04, 1999 at 06:31:25PM +0200, Alan Cox wrote:
> > This also would map nicely onto a "Linux-MIB" for remote network
> > control.
>
> I've been sent a patch that puts all the snmp like stats into /proc. its
> on my things to think about in 2.3.x pile

sysctl would have been easier, because it is already there.

What sysctl doesn't do (yet) is to manage dynamic lists of things (like
sockets). If that could be added I believe most of /proc/net could be
moved to sysctls, with the old /proc/net generated by a table driven
compatibility layer.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/