home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
monitors
/
lav
/
poster
< prev
next >
Wrap
Text File
|
1995-02-27
|
2KB
|
46 lines
Article 2211 of comp.sys.amiga:
Path: mcdsun!noao!hao!nbires!seismo!mnetor!yetti!unicus!wjr
From: wjr@unicus.UUCP (William J. Rucklidge)
Newsgroups: comp.sys.amiga
Subject: Amiga load average program
Message-ID: <490@unicus.UUCP>
Date: 19 Feb 87 05:57:51 GMT
Reply-To: wjr@unicus.UUCP (William J. Rucklidge)
Organization: Unicus Software Inc., Toronto, Ont.
Lines: 175
This is a little program which I usually have running in my title bar.
It displays the number of tasks in the Amiga's run queue, averaged over
the last minute, 5 minutes and 15 minutes. This lets you see just how much
(or how little) of the time there is something using the Amiga's processor,
and how many tasks are queued to use it.
It's fairly small... it does use printf() but only for error messages in the
case of absolute disaster, so if you want you can remove all the calls to
printf() in here.
It works with Manx 16 bit, and should work with anything (unless your
compiler doesn't understand void *, in which case the declarations
of OpenLibrary() etc should be changed.)
William Rucklidge Unicus Software Inc, Toronto, Ont.
UUCP: {the known world}!seismo!mnetor!unicus!wjr wjr@unicus.UUCP
BITNET: WJR AT UTORONTO CSNET: wjr@toronto
This message brought to you with the aid of the Poslfit Committee.
****************************** Addenda ***********************************
I have modified William's code slightly since his original release. It now
expects V2.X (or V3.0) of the Amiga O/S and is font sensitive. I also
performed miscellaneous clean up operations and moved it to Lattice C 6.0.
Hope you find it useful!
Program LAV should run on any processor.
Program LAV.040 is optimized for the 68040.
Eric G. Suchanek
12/30/92
BIX: esuchanek
INET: procter!suchanek_eg@ms.uky.edu