Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!mcvax!ukc!slxsys!qtnet!nick From: nick@qtnet.uucp (Nick Lawes) Newsgroups: comp.unix.xenix Subject: Re: _avenrun kernel variable Message-ID: <1989Jul19.170705.15095@qtnet.uucp> Date: 19 Jul 89 17:07:05 GMT References: <1554@ethz.UUCP> Organization: Quotnet (UK) Limited, London Lines: 27 In-reply-to: ms@ethz.UUCP's message of 12 Jul 89 18:41:03 GMT From article <1554@ethz.UUCP>, by ms@ethz.UUCP (Martin Steinmann ): > To get the load widget of the X Athena Widget Set running, I should > know what type the variable ``_avenrun'' in Xenix is. > > Can anybody help ? > > Dave. I found the following mostly by trial and error, but it does agree with the `w' command... Avenrun is an array of three shorts. These represent (I believe) the load average over the last 1, 5, and 10 minutes. Divide the required short by 256.0 to get the load average. -- Nick -- [ Nick Lawes, Systems Programmer | voice: +44 1 353 6723 ] [ Technical Marketing, Quotnet (UK) Ltd. | email: nick@quotnet.co.uk ] [ 12 Norwich Street, London. EC4a 1BP | email: ..!mcvax!ukc!qtnet!nick ] [ | ham : G8ZHR @ GB7UWS ] -- [ Nick Lawes, Systems Programmer | voice: +44 1 353 6723 ] [ Technical Marketing, Quotnet (UK) Ltd. | email: nick@quotnet.co.uk ] [ 12 Norwich Street, London. EC4a 1BP | email: ..!mcvax!ukc!qtnet!nick ] [ | ham : G8ZHR @ GB7UWS ]