Load Average

Nick Lawes nick at qtnet.UUCP
Thu Jun 22 20:28:52 AEST 1989


>That seems the right answer. I have just installed OS Release 2.3.2 and it 
>all started again. First a load average of 0 than after heavy load a load
>average of 1 and so on.
>
>There is surely a bug in w.
>Maybe SCO reads this and fixed it to the next release or it is already fixed
>in 2.3.3.

Hmm.. I must have skipped the earlier discussions, but suddenly got
interested. I am running SCO Xenix V 386 r 2.3.2, and thought I'd see
if I got the same problem.  Just thought you may be interested in a
report...

In short, I don't. I use 'w' and a little program that I hacked up to
get _avenrun from the kernel, and they both reset to zero after high
load averages (if you call 7 high enough).

>SCO: Thanks for fixing the select() call bug from 2.3.1 to 2.3.2 ! Now
>all works correct - maybe me *countless* mails to rosso at sco has
>helped.

That's interesting... Having read in the installation guide (I think)
that the select() call was now supported, I thought I'd investigate..
The first thing I noticed was a total lack of mention of it in the
documentation (or am I missing something?). I finally found the call
by scanning the libraries. Slibtinfo.a seems a strange place for a
system call interface, but still, ours not to reason why...

Having never used select() before, I turned to the SUN 3 and with the
aid of the manuals wrote a test program to poll a couple of fifo's.
This worked fine! Okay, move the code to the Xenix box and try to run
it there... No way will it work!

I get no errno set after the select() call, so maybe the select() call
in tinfo probably the right one after all. But where is it?  I've
searched all the libraries to no avail...

I'd be interested in learning where I'm going wrong... Can anyone out
there enlighten me? Point me at the right manual / page?

Thanks in advance for any help...

-- Nick
-- 
[     Nick Lawes, Systems Programmer     | voice:       +44 1 353 6723    ]
[ Technical Marketing, Quotnet (UK) Ltd. | email:     nick at quotnet.co.uk  ]
[  12 Norwich Street, London.  EC4a 1BP  | email: ..!mcvax!ukc!qtnet!nick ]
[                                        | ham  :       G8ZHR @ GB7UWS    ]



More information about the Comp.unix.xenix mailing list