Dec 302017
 
OS/2 CPU load monitor.
File PMLOAD11.ZIP from The Programmer’s Corner in
Category OS/2 Files
OS/2 CPU load monitor.
File Name File Size Zip Size Zip Type
PMLOAD.DOC 3679 1825 deflated
PMLOAD.EXE 11968 6942 deflated
SLEEP.EXE 3047 1963 deflated

Download File PMLOAD11.ZIP Here

Contents of the PMLOAD.DOC file


-- April 13, 1991 -- v1.1

Program
pmload - xload with some enhancements

Installation
HA! See 'Bugs' section. heheheh
04/13/91 - Well..maybe not. Lots of people wrote me explaining that
sleep was completely unnecessary. I still need it, so I'll
continue to include it.

Bug Fixes
04/13/91 - Problem when run during overcommitted system resources.
Thanks Pean Lim!

Description
pmload is based on xload, popularized on the X-windows system, and
its variants. It provides the OS/2 PM user with a bar graph defining
approximate CPU utilization over time. For fun, you can use up to
three color segments for each bar line.

Features

- All options and window attributes are saved when pmload is closed.
- All options are manipulated via the system menu.
- You can hide the frame controls (system menu, title bar, and min/max
buttons, but not the size border) to provide more space for the graph.
This is especially useful on EGA or VGA systems. Double-clicking on the
window surface toggles this feature. Alternatively, you can use the
system menu item "Hide frame controls".
- You can pause the program via the "Pause" (gee) menu item. Programs
like the Deskpic screen saver operate at a very low priority. I found
myself in need of watching kaleidoscopes, etc. sometimes, without a
noticeable pause every interval (pmload does its processing here).
Once paused, you can select "UnPause" to reverse this action.
- The "Colors" dialog box allows you to change the color of the backround
and bar graph segments (more on this later). Easy interface needs no
explaining (at least that's what were told... :-).
- The "Options" dialog box first allows you to designate the frame
controls as hidden upon startup (useful for startup.cmd usage). Second,
you can define the "interval between display" length. The default is
one second. Third, you can define the positioning of the bar graph segments.
When pmload draws a bar line, it actually draws three segements from the
bottom up. It draws the first segment (defined via "Threshold One" as a
percentage of the window height) in the first segment color. If it reaches
"Threshold Two"'s percentage height, the color will change to segment color
two, and the for the third segment. My favorite set of percentages is 33,
and 66 with colors blue, white, and red.

Author
I welcome any comments, suggestions, and flames. You can reach me at
the following:

snail: Jeremy Wohl
Ivory Towers
15 Thornridge Lane
S. Setauket, NY 11720

Internet: [email protected]

Liscencing
This software is completely free and can be used and distributed without
fee. However, hardware, compilers, and toolkits have taken there toll.
I'm only a college student, for heaven's sake! Any contribution is gladly
accepted.

Disclaimer
This software is provided as is. The author disclaims any responsibilty
for any damages occuring through the use of this software, although the
author has done his darndest to debug it!

Bugs
For some unknown reason (to me :-), pmload has a 50% chance of staying up,
if put in the startup.cmd. However if startup.cmd goes to sleep for a
minimal period just after a 'start pmload', it sticks around consistently.
On a 20Mhz i386DX machine, two seconds works. Included here is a program to
do just this. The format is: 'sleep time', where time is in milliseconds.
For instance, for two seconds, 'sleep 2000'.

(For programmers) It is interesting to note the process startup and finish
time for 'sleep 0' (much faster in 1.3).


 December 30, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)