[comp.unix.aux] ?

uucp@dell.dell.com (0000-uucp(0000)) (08/04/90)

>From dap  Fri Aug  3 10:25:25 1990 remote from fubar
Received: from fubar by dell.dell.com; Fri,  3 Aug 1990 14:11 CDT
Received: by fubar (5.61/A/UX-2.00)
	id AA01698; Fri, 3 Aug 90 10:25:25 PDT
Date: Fri, 3 Aug 90 10:25:25 PDT
From: fubar!dap (Damon Permezel)
Message-Id: <9008031725.AA01698@fubar>
To: dell!cs.utexas.edu!comp-unix-aux
Subject: bogus load average calculations in aux 2.0
Content-Type: text
Content-Length: 599

As I use my system more, the load average appears to increase monotonically.
`ps' indicates not much is running or runable, but the load average is
still way up there.

This just pissed me off enuf to cause me to have a look at it.  It appears
that every process that is suspended (state == stopped) adds to the load
average.  Try this using /bin/ksh:

	% ksh
	% ksh
	% ksh
	% ksh
	% ksh
	% ksh
	% ksh
	% ksh
	% ksh
	% suspend
	% suspend
	% suspend
	% suspend
	% suspend
	% suspend
	% suspend
	% suspend
	% suspend

	Note that the load average ramps up rapidly, while retaining
	responsiveness!