wmmon: Add support for larger load averages.
commit2a199f8b198e0d6d9b12b902e6ccc0d9177824bd
authorDoug Torrance <dtorrance@piedmont.edu>
Tue, 10 Apr 2018 22:05:12 +0000 (10 18:05 -0400)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 10 Apr 2018 23:07:03 +0000 (11 00:07 +0100)
treefa193dca52e76438c769f4f0e23595648591d8c7
parentbdfca9d3d02ea5db00c19d1f8bf9a13d984e8159
wmmon: Add support for larger load averages.

Previously, a green hint line was drawn on the CPU window for each
multiple of 1.  This meant as the load average approached 40 (the
height of the window), the window would gradually fill up entirely
with green.

To get around this, we switch to a yellow hint line for each
multiple of 10 once the load passes 10.  And then a red hint line
for each multiple of 100 once the load passes 100.

This fixes Debian bug #894801, reported by Pedro Gimeno
<debian.bts@personal.formauri.es>.
wmmon/README
wmmon/wmmon-master.xpm
wmmon/wmmon.1
wmmon/wmmon.c