RE: netsnmp with perl 64 bit handling

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC09DB4042@mailserver.metatv-ds.metatv.com>
> From: Ambika Tripathy [mailto:[email protected]] 
> Sent: Thursday, November 20, 2008 12:10 PM

> I have one perl script which uses to get the ifInOctets and 
> ifOutOctets. The
> return values are in longer than 32 bit value.

	No they're not.  They're defined as 32 bit objects and will only return 32 bit values.  These will wrap too quickly to be useful in some situations.  You want to use the 64 bit objects, which are different objects.  I don't recall 'em, myself.  Try searching on "ifIndex HighSpeed".


	HTH,

Mike

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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.