Subject: kern/591: /kern/loadavg
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/28/1994 21:35:06
>Number:         591
>Category:       kern
>Synopsis:       /kern/loadavg sometimes has 0 scale factor
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 28 21:35:04 1994
>Originator:     Chuck Silvers
>Release:        1.0
System: NetBSD 1.0 NetBSD 1.0 (SPARC) #39: Fri Nov 18 02:33:07 EST 1994 sparc


kernfs's loadavg interface reports a scale factor of 0 until
averunnable.fscale is initialized in vm_sysctl().


run "cat /kern/loadavg" (or wherever you mount kernfs) after a reboot
and before you run "uptime" or anything else that gets the load average.


initialize averunnable statically or something.