home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / PMLOAD11.ZIP / PMLOAD.DOC next >
Text File  |  1991-06-03  |  4KB  |  81 lines

  1. -- April 13, 1991 -- v1.1
  2.  
  3. Program
  4.   pmload - xload with some enhancements
  5.  
  6. Installation
  7.   HA!  See 'Bugs' section.  heheheh
  8.   04/13/91 - Well..maybe not.  Lots of people wrote me explaining that
  9.              sleep was completely unnecessary.  I still need it, so I'll
  10.              continue to include it.
  11.  
  12. Bug Fixes
  13.   04/13/91 - Problem when run during overcommitted system resources.
  14.              Thanks Pean Lim!
  15.  
  16. Description
  17.   pmload is based on xload, popularized on the X-windows system, and
  18. its variants.  It provides the OS/2 PM user with a bar graph defining
  19. approximate CPU utilization over time.  For fun, you can use up to
  20. three color segments for each bar line.
  21.  
  22. Features
  23.  
  24.  - All options and window attributes are saved when pmload is closed.
  25.  - All options are manipulated via the system menu.
  26.  - You can hide the frame controls (system menu, title bar, and min/max
  27. buttons, but not the size border) to provide more space for the graph.
  28. This is especially useful on EGA or VGA systems.  Double-clicking on the
  29. window surface toggles this feature.  Alternatively, you can use the
  30. system menu item "Hide frame controls".
  31.  - You can pause the program via the "Pause" (gee) menu item.  Programs
  32. like the Deskpic screen saver operate at a very low priority.  I found
  33. myself in need of watching kaleidoscopes, etc. sometimes, without a
  34. noticeable pause every interval (pmload does its processing here).
  35. Once paused, you can select "UnPause" to reverse this action.
  36.  - The "Colors" dialog box allows you to change the color of the backround
  37. and bar graph segments (more on this later).  Easy interface needs no
  38. explaining (at least that's what were told... :-).
  39.  - The "Options" dialog box first allows you to designate the frame
  40. controls as hidden upon startup (useful for startup.cmd usage).  Second,
  41. you can define the "interval between display" length.  The default is
  42. one second.  Third, you can define the positioning of the bar graph segments.
  43. When pmload draws a bar line, it actually draws three segements from the
  44. bottom up.  It draws the first segment (defined via "Threshold One" as a
  45. percentage of the window height) in the first segment color.  If it reaches
  46. "Threshold Two"'s percentage height, the color will change to segment color
  47. two, and the for the third segment.  My favorite set of percentages is 33,
  48. and 66 with colors blue, white, and red.
  49.  
  50. Author
  51.   I welcome any comments, suggestions, and flames.  You can reach me at
  52. the following:
  53.  
  54.   snail: Jeremy Wohl
  55.          Ivory Towers
  56.          15 Thornridge Lane
  57.          S. Setauket, NY  11720
  58.  
  59.   Internet: wohl@max.physics.sunysb.edu
  60.  
  61. Liscencing
  62.   This software is completely free and can be used and distributed without
  63. fee.  However, hardware, compilers, and toolkits have taken there toll.
  64. I'm only a college student, for heaven's sake!  Any contribution is gladly
  65. accepted.
  66.  
  67. Disclaimer
  68.   This software is provided as is.  The author disclaims any responsibilty
  69. for any damages occuring through the use of this software, although the
  70. author has done his darndest to debug it!
  71.  
  72. Bugs
  73.   For some unknown reason (to me :-), pmload has a 50% chance of staying up,
  74. if put in the startup.cmd.  However if startup.cmd goes to sleep for a
  75. minimal period just after a 'start pmload', it sticks around consistently.
  76. On a 20Mhz i386DX machine, two seconds works.  Included here is a program to
  77. do just this.  The format is: 'sleep time', where time is in milliseconds.
  78. For instance, for two seconds, 'sleep 2000'.
  79.  
  80. (For programmers) It is interesting to note the process startup and finish
  81. time for 'sleep 0' (much faster in 1.3).