ms@ethz.UUCP (Martin Steinmann ) (07/13/89)
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.
nick@qtnet.uucp (Nick Lawes) (07/20/89)
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 ]