Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!usc!cs.utexas.edu!uunet!mcvax!ukc!pyrltd!slxsys!qtnet!nick From: nick@qtnet.UUCP (Nick Lawes) Newsgroups: comp.unix.xenix Subject: Re: Load Average Message-ID: <1154@qtnet.UUCP> Date: 22 Jun 89 10:28:52 GMT References: <2910@netmbx.UUCP+ <745@crdgw1.crd.ge.com> <411@accsys.UUCP> <2922@netmbx.UUCP> Organization: Quotnet (UK) Limited, London Lines: 48 In-reply-to: fischer@netmbx.UUCP's message of 15 Jun 89 08:56:21 GMT Posting-Front-End: GNU Emacs 18.41.1 of Tue Mar 24 1987 on qtnet (berkeley-unix) >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@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@quotnet.co.uk ] [ 12 Norwich Street, London. EC4a 1BP | email: ..!mcvax!ukc!qtnet!nick ] [ | ham : G8ZHR @ GB7UWS ]