Subject: Bug#3731: snmpd: patch for hrProcessorLoad MIB variable

From: [email-masked] (David Engel)
Date: Sun, 11 Aug 1996 13:33:31 -0500 (CDT)

Patrick Weemeeuw writes:
> Package: snmp
> Version: 2.1.2l4-1
> 
> The hrProcessorLoad MIB variable is not computed correctly in snmp
> 2.1.2l4: the value returned is max(loadavg*100, 100).  Under linux, we
> can compute the correct value by regurarly polling the idle jiffies
> counter available in /proc/stat.  The patch below adds a signal
> handler to correctly keep track of the cpu load over the last minute.

I've forwarded your report on to the upstream maintainers to get their
opinion.

David
-- 
David Engel                        Optical Data Systems, Inc.
[email-masked]                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081