Home | History | Annotate | Download | only in envstat
History log of /src/usr.sbin/envstat/envsys.conf.5
RevisionDateAuthorComments
 1.15  03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.14  09-Feb-2012  riz Various English usage, spelling and markup fixes for envstat(4)-related
things, from Snader_LB.
 1.13  15-Feb-2010  pgoyette branches: 1.13.6;
Document the new {high, maximum}-capacity keywords, and some general
clean-up.
 1.12  13-May-2009  wiz New sentence, new line.
 1.11  23-Sep-2008  reed Fix a typo/mispelling.
Spell out minimum and maximum.
 1.10  10-Sep-2008  reed Remove extra space.
Spell out "maximum" and "minimum".
 1.9  31-Aug-2008  wiz Drop trailing whitespace.
 1.8  22-Aug-2008  pgoyette 1. provide for warning-min and warning-max alarm levels in addition to
critical-min and critical-max; also, a battery warning-capacity is
added in addition to a critical-capacity.

2. usr.sbin/envstat is modified to introduce a -W command line switch to
display the warning-* values instead of the critical-* values, and
envstat(8) and envsys.conf(5) man pages are updated appropriately.

3. Treat user-defined limits as a single continuum and generate a single
event regardless of how many boundaries a change in sensor value
crosses; ditto for driver-defined limits.

Fixes my PR/39021
Fixes my PR/39022

OK'd by christos@ bouyer@ cube@
 1.7  26-Apr-2008  xtraeme branches: 1.7.2;
* Improve default display output by adding a header that will match
current value as well as critical limits set and sensor unit.

* Add a new flag: -T. When it's enabled statistics will be created for
the sensors. Max, min and average statistics as well as sensor unit
will be displayed. Must be used with an interval.

You can see the new code in action here:

http://www.netbsd.org/~xtraeme/envstat_stats.txt

Thanks to jmcneill@ for comments and ideas.
 1.6  16-Nov-2007  xtraeme branches: 1.6.6;
Implement the 'refresh-timeout' property in device blocks for the
configuration files. This sets the timeout value that will be used
to check for critical limits.

The value can be viewed by the 'envstat -D' command.
 1.5  25-Oct-2007  wiz branches: 1.5.2;
Various improvements: typo fixes, wording, formatting.
 1.4  09-Oct-2007  xtraeme - Do not allow a 'critical-{max,min}' property in battery
sensors (those that contain the 'want-percentage' object on its
dictionary), the 'critical-capacity' prop must be used instead.

- When setting a 'critical-{max,min}' property check if the value is
higher than the 'max-value' or lower than the 'min-value' on its
dictionary, raise an error if it's true.
 1.3  07-Oct-2007  xtraeme Provide a more complete syntax example.
 1.2  07-Oct-2007  xtraeme Explain some more about the events that will send to powerd(8)
(if running) in the critical-{capacity,max,min} properties when the
limit has been reached.
 1.1  07-Oct-2007  xtraeme New configuration file format for the envsys framework:

foo0 {
#
# CPU Temperature
#
sensor0 {
critical-max = 70C;
critical-min = 20C;
}
...
}
...

Removed the -m flag that was previously used to set properties for
sensors. Now the -c flag will process all properties specified in
the file (accepted as argument).

To remove all properties that were set, the new -S flag can be used.
This will restore default values for all devices.
 1.5.2.3  09-Jan-2008  matt sync with HEAD
 1.5.2.2  06-Nov-2007  matt sync with HEAD
 1.5.2.1  25-Oct-2007  matt file envsys.conf.5 was added on branch matt-armv6 on 2007-11-06 23:36:26 +0000
 1.6.6.1  18-May-2008  yamt sync with head.
 1.7.2.2  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.7.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.13.6.1  17-Apr-2012  yamt sync with head

RSS XML Feed