🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.sys5.r3
2 messages
2 total messages Started by Peter Wemm Thu, 25 Feb 1993 19:08
SCO 3.2v4 load average help needed
#116
Author: Peter Wemm
Date: Thu, 25 Feb 1993 19:08
17 lines
1607 bytes
Can anybody tell me the size, type and scaling of the load average
variables in the kernel on SCO unix 3.2v4?

I am assuming it is the avenrun variable, but it does not seem to be
in a standard format that is useable.   What is it?  A long, double, scaled
long, or what?  How big is it?  [or is avenrun a big array?]

Most code I have seen assumes that avenrun is either an array of 3
or 5 entries, each being a double or a long, with longs normally
scaled.

Any hints appreciated!

-Peter
-- 
Peter Wemm   peter@DIALix.oz.au -or- peter@zeus.DIALix.oz.au
NIC handle: PW65    Current maintainer of the "NN" newsreader.
Re: SCO 3.2v4 load average help needed
#117
Author: Peter Wemm
Date: Fri, 26 Feb 1993 07:38
23 lines
1864 bytes
peter@DIALix.oz.au (Peter Wemm) writes:

>Can anybody tell me the size, type and scaling of the load average
>variables in the kernel on SCO unix 3.2v4?

>Any hints appreciated!

For those who may be interested, the variables are declared:
short avenrun[3];
and the values are scaled up by 256.  This probably wont mean anything
to you unless you are trying to port a free getloadagv() function to
3.2v4.

Thanks to those who replied!

>-Peter
>-- 
>Peter Wemm   peter@DIALix.oz.au -or- peter@zeus.DIALix.oz.au
>NIC handle: PW65    Current maintainer of the "NN" newsreader.
-- 
Peter Wemm : peter@zeus.dialix.oz.au   If it's broke, fix it (The MS-DOS way)
Work phone: +61-9-479-1855    If it aint broke, don't touch it (The Unix way)
Fax: +61-9-479-1134   If we can't fix it, it ain't broke (Maintainer's Motto)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads