cpu idle wrap problem

Alex Krohn <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I'm having a problem with CpuRawIdle not wrapping once it hits 2^32. On
this system, the idle time is now greater then 2^32:

alex root # head -n 1 < /proc/stat 
cpu  11384324 721116 3439789 4301015759 2728511 21286489 124494 0
alex root # 

But snmpd is always stuck at the 2^32 position and never wraps or
increases any more:

alex root # snmpwalk -v2c localhost UCD-SNMP-MIB::ssCpuRawIdle.0
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 4294967295
alex root # 

This is with net-snmp 5.2.1.2 on a linux 2.6.11.7 kernel. Am I meant to
be polling a 64 bit counter instead?

Thanks!

Alex


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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.