home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
MM1
/
GRAPHICS
/
perf.lzh
/
perf.doc
< prev
Wrap
Text File
|
1993-05-09
|
2KB
|
56 lines
Perf
(Performance Monitor)
FreeWare!
(c) 1993 Andrew Donaldson
Perf is a simple little program which will run in a kwindows window at the
corner of your screen, and tell you how busy your computer is.
Included in this archive is perf (the executable), perf.doc (what you
are reading) and aif.perf and icon.meter (for use with Hyper Techs Desktop).
There are two pieces of information perf will show you.
Firstly a grey bar graph will scroll across the window from right to left
showing how much memory you have used. When the light grey bar is at the
bottom you have lots of free memory, when its at the top, you are almost
out of free ram.
The second graph is a green line graph which shows the 'processor utilization'
which is the fraction of time the processor is busy. If you run a program
which takes all the processor time the line will flow along the top of the
window, if the system is idle (ie: every window is just waiting for you
to type something, and no other significant processes are running) the graph
will be near the bottom. (The processor has to do a bit of background work
at all times... including drawing the 'perf' window!)
The memory checking functions should self adjust to any size of memory
installed in your computer (1,3 or 9 Meg in an MM/1). The system tables
are checked for this info.
Thanks to Mike Haaland for info on system tables.
The processor utilization was very cleverly worked out by Dave Lyons at
Microware who generously let me put it in this program.
There are a few problems with the graph updates. I havnt been able to find
what causes them, I'm hopeing it'll go away with a later version of
Kwindows :-)
Sometimes the mouse pointer will dissapear, this _seems_ to have something
to do with programs doing putblk()'s.. havnt worked that out yet.
If it happens, try using the keyboard to flip to another window, then
move the mouse about.
I'd like to add some scale to the sides of the view port so you can tell
'I have about 1 Meg left'.
Also some argument geometry-strings which let you say something like
perf -topright 10x5 window
so you can start perf where you want it from a script.
If you like perf, please let me know! A few thank you's and suggestions
would be nice!