[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-users
Subject:    cpu idle wrap problem
From:       Alex Krohn <alex () gossamer-threads ! com>
Date:       2006-02-24 4:19:46
Message-ID: 20060223201941.ED15.ALEX () gossamer-threads ! com
[Download RAW message or body]

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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic