Re: Stats from alternate /proc/net/... files?

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Wed, 9 Sep 2009 11:33:25 -0400, Ray Chang <[email protected]> said:

RC> We are thinking putting up files in the same format as, for example,
RC> /proc/net/dev and changing the code in IfTable.c to point to a different
RC> place than /proc/net.  I this a reasonable scheme?

Yep.  But if you're able to get direct access to the data, typically it
would be better to remove the file-layer /proc access in the first
place.  EG, on other systems that don't have a /proc but can instead
pull information directly from sysconfig or some other API, that's used
instead.

-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.