lkml.org 
[lkml]   [1999]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MRTG/Linux 2.2.5
On Sat, 3 Apr 1999, Alan Cox wrote:
[>On some earlier date, I wrote:]
> > On Fri, 2 Apr 1999, fbujanic wrote:
> > > the format of /proc/net/snmp changed in 2.1.x kernels. So you must make
> > > changes to your CMU-SNMP to make it read the correct info.
> >
> > *heavy sigh*
>
> I should point out at this point that the standard CMU-SNMP for Linux 2.0
> was making up the values for the byte counts and normally wildly inaccurate
> precisely because the snmp data didnt include the needed byte counters...

Thanks for pointing out that there was a sensible reason to muck with
/proc/net/snmp. My sigh was due to the breaking of yet another program
because (a) it was forced to depend on formatted kernel data and (b) those
data were then reformatted.

If I worked up a patch to mirror these data somewhere in /proc/sys/net,
making them available via sysctl for programmers who want a stable
interface, is there a reasonable chance that it would be accepted?
(Assuming that my work is of high enough quality.) Is there any chance
that /proc/net/snmp and /proc/net/snmp6 could be deprecated early in
2.3 with the intent of removing them for 2.4?

Please note that scripts could still get the data -- they'd just have to
look somewhere in /proc/sys/net.

--
Mark H. Wood, Lead System Programmer mwood@IUPUI.Edu
Specializing in unusual perspectives for more than twenty years.


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.218 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site