Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   pgoyette
Date:           Fri Aug 22 11:27:50 UTC 2008

Modified Files:
        src/sys/dev/sysmon: sysmon_envsys.c sysmon_envsys_events.c
            sysmon_envsysvar.h sysmon_power.c
        src/sys/sys: envsys.h power.h
        src/usr.sbin/envstat: config.c config_lex.l envstat.8 envstat.c
            envsys.conf.5

Log Message:
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@


To generate a diff of this commit:
cvs rdiff -r1.84 -r1.85 src/sys/dev/sysmon/sysmon_envsys.c
cvs rdiff -r1.55 -r1.56 src/sys/dev/sysmon/sysmon_envsys_events.c
cvs rdiff -r1.27 -r1.28 src/sys/dev/sysmon/sysmon_envsysvar.h
cvs rdiff -r1.38 -r1.39 src/sys/dev/sysmon/sysmon_power.c
cvs rdiff -r1.22 -r1.23 src/sys/sys/envsys.h
cvs rdiff -r1.11 -r1.12 src/sys/sys/power.h
cvs rdiff -r1.7 -r1.8 src/usr.sbin/envstat/config.c \
    src/usr.sbin/envstat/envsys.conf.5
cvs rdiff -r1.3 -r1.4 src/usr.sbin/envstat/config_lex.l
cvs rdiff -r1.45 -r1.46 src/usr.sbin/envstat/envstat.8
cvs rdiff -r1.69 -r1.70 src/usr.sbin/envstat/envstat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index