Justin Joseph wrote:
I am finding the percentage cpu usage of a process from SNMP
MIB using hrSWRunPerfCPU oid. In case of single processor systems it is
working fine. But it is giving incorrect values in case of systems
having multiple CPUs. In the description of the oid it is mentioned as "
*Note that on a multi-processor system, this value may increment by more
than one centi-second in one centi-second of real (wall clock) time*".
The following related patch has just been applied to CVS (5.2.x, 5.3.x,
MAIN):
[ 1386264 ] 5.2.2 - fix Linux CPU counters on SMP machines
See http://www.net-snmp.org/nightly/tarballs/ for nightly CVS snapshots.
Does it help with your problem?
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders