dockapps/wmmon
Doug Torrance 7354c4df53 wmmon: Properly compute height of system load window.
Previously, we looped through the history and added 100 whenever we found
a larger value.  This has a number of problems.  In particular,
* We get a maximum possible value of 5500 (100 * the number of values in
  the history).  It is certainly possible to have a system load north of
  this on modern systems.
* If the system load in history were to jump by more than 100 in a single
  step, then we wouldn't be adding enough.  For example, suppose the
  system load in history is 175, and our height was previously computed
  to be 200.  Suppose the next value in history is 320.  We would add
  100 to get a new height of 300, which isn't sufficient to display the
  320.

The fix is simple -- replace the if statement with a while loop, i.e.,
continue adding 100 until we get a height that fits our value.
2018-04-11 00:06:49 +01:00
..
BUGS wmmon: Official release of wmmon 1.0b2 2011-12-18 14:30:15 +00:00
CHANGES wmmon: Bump to version 1.3. 2017-08-12 22:40:32 +01:00
configure.ac wmmon: Bump to version 1.3. 2017-08-12 22:40:32 +01:00
COPYING Mass update GPLv2 from http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt 2012-06-05 20:45:40 +01:00
HINTS Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
INSTALL wmmon: Update documentation. 2017-08-12 22:40:32 +01:00
Makefile.am wmmon: Add desktop entry file. 2017-08-12 22:40:32 +01:00
README wmmon: Update documentation. 2017-08-12 22:40:32 +01:00
TODO wmmon: Update documentation. 2017-08-12 22:40:32 +01:00
ulllib.c wmmon: Fix jiffy counter overflowing long on 32-bit systems. 2017-08-12 22:40:32 +01:00
ulllib.h wmmon: Fix jiffy counter overflowing long on 32-bit systems. 2017-08-12 22:40:32 +01:00
wmmon-mask.xbm wmmon: Use consistent data types. 2017-08-12 22:40:32 +01:00
wmmon-master.xpm wmmon: Move all source files to top directory for simplicity. 2017-08-12 22:40:32 +01:00
wmmon.1 wmmon: Move all source files to top directory for simplicity. 2017-08-12 22:40:32 +01:00
wmmon.c wmmon: Properly compute height of system load window. 2018-04-11 00:06:49 +01:00
wmmon.desktop wmmon: Add desktop entry file. 2017-08-12 22:40:32 +01:00

WMMon
--------------------------------------------------------------
Authors...: Martijn Pieterse (pieterse@xs4all.nl)
       	    Antoine Nulle    (warp@xs4all.nl)

(Now maintained by the Window Maker Team.)

Note......: Please mail bugreports, comments, suggestions,
	    requests and flames to:

	    wmaker-dev@lists.windowmaker.org

	    The official WMMon support website address:

	    http://www.dockapps.net/wmmon

Credits...: Bobby Mezaway (bobby@mezaway.org) for generously
	    hosting our website!
	    Dave Harden (dharden@wisewire.com) for the major
	    speedup diffs!


Description
--------------------------------------------------------------
WMMon monitors the realtime CPU load as well the average
system load and gives you some nice additional features too...

WMMon currently provides:

        * Realtime CPU 'stress' meter;
        * Average systemload, like xload & wmavgload;
        * Average systemload graphic is autoscaling;
	* Realtime Disk I/O 'stress' meter;
	* Average Disk I/O load grapic (autoscaling);
	* Realtime total Mem & Swap usage meters;
	* System uptime display;
	* Realtime cycling through all monitor modes;
	* Can lauch 3 user definable commands through ~/.wmmonrc;
	* Can be started multiple times;
	* Commandline options for help (-h), version (-v),
	  start mode (-i & -s) and display (-d);

There are some 'known' unfinished parts, be sure to read the TODO
file, but we decided to release it early because of the high
demand and many requests we got for this one ;)

WMMon was developed on DEC Alpha machines running
Linux/RedHat-5.0, but, WMMon has been intensively tested
on x86 and 68K Linux machines too ;-)

p.s. WMMon is still a Linux ONLY app, sorry about that :(

Files
--------------------------------------------------------------
README		This file.
INSTALL		Installation instructions.
HINTS 		Hints about what you can do with WMMon.
BUGS		Things you don't want to know ;-)
CHANGES 	Description of changes.
COPYING		GNU General Public License Version 2.
TODO		Stuff we've planned for future WMMon releases.


Bugs
--------------------------------------------------------------
If you discover any bugs in this software, please send a
bugreport to wmaker-dev@lists.windowmaker.org and describe
the problem as detailed as you can.


Copyright
--------------------------------------------------------------
WMMon.app is copyright (c) 1997, 1998 by Martijn Pieterse and
Antoine Nulle and licensed through the GNU General Public License.
Read the COPYING file for the complete GNU license.