The NetBSD Project

CVS log for src/usr.sbin/envstat/envstat.8

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / envstat

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Nov 21 21:24:02 2022 UTC (2 years ago) by brad
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -1 lines


A driver for the Bosch BMP280 / BME280 temperature, humidity and
atmospheric pressure sensor.  This is an inexpensive to moderately
expensive chip available from a large number of places.  The driver
supports all aspects of the two chips, except for the repeating read
mode which would allow for sub-second queries, such as fall detection
or perhaps even as an altimeter.  This driver also only supports the
I2C interface and not the SPI interface.

The BME280, the one with humidity, is not fully tested at this point,
awaiting upon a breakout board and may not show proper humidity.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Nov 14 20:07:13 2020 UTC (4 years ago) by wiz
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +14 -11 lines
New sentence, new line.
Other whitespace fixes, and some Xr fixes.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Nov 14 16:32:53 2020 UTC (4 years ago) by mlelstv
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +7 -2 lines
Add option -n to print only the value of a sensor.
If statistics are selected with -T, then also display max, min and average.
The empty line between each display is skipped when one or more sensors are
selected with -s.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Nov 14 12:36:49 2020 UTC (4 years ago) by mlelstv
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +25 -3 lines
Allow to select raw output for a single device or a list of sensors.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Nov 14 09:11:55 2020 UTC (4 years ago) by mlelstv
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -1 lines
For raw output (-x) allow to extract individual properties like drvctl -p.
E.g.

# envstat -x /vcmbox0/0/cur-value
328150000

Revision 1.61.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:05:07 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +6 -3 lines
Rebase to HEAD as of a few days ago.

Revision 1.61.16.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:59:27 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +6 -3 lines
Rebase.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun May 18 11:46:24 2014 UTC (10 years, 6 months ago) by kardel
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +6 -3 lines
add HYT-221/271/939 humidity/temperature I2C sensor
extend envsys(4) framework by %rH (relative humidity)

Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:09:46 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +13 -12 lines
sync with head

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Feb 9 18:10:26 2012 UTC (12 years, 10 months ago) by riz
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +13 -12 lines
Various English usage, spelling and markup fixes for envstat(4)-related
things, from Snader_LB.

Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:46 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +8 -2 lines
Catchup with rmind-uvmplock merge.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Jun 7 17:47:24 2011 UTC (13 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +7 -7 lines
Sort sections.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Jun 7 17:28:59 2011 UTC (13 years, 6 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +8 -2 lines
Add a BUGS section to point out that the statistic "average" is an
average only of the current, minimum, and maximum values, and not a
running average of all displayed current values.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Oct 5 10:03:53 2010 UTC (14 years, 2 months ago) by njoly
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3 lines
Add option k to synopsis.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Jul 9 22:24:13 2010 UTC (14 years, 5 months ago) by reed
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +30 -2 lines
Add brief explanations of unit abbreviations.
Add units(1) to see also.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Mar 19 04:04:28 2010 UTC (14 years, 8 months ago) by cnst
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +1 -2 lines
Remove aiboost(4) as obsolete and redundant since the introduction of aibs(4).

      http://mail-index.netbsd.org/tech-kern/2010/03/06/msg007458.html

Reviewed by <pgoyette>, <cegger>, <jruoho>, <tech-kern>.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Feb 15 22:38:28 2010 UTC (14 years, 9 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3 lines
Update cross-reference to refer to new aibs(4) instead of aiboost(4)

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Feb 9 03:19:51 2010 UTC (14 years, 10 months ago) by cnst
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -1 lines
New aibs(4) driver for ASUSTeK AI Booster (ACPI ATK0110) hardware monitor
with limit support.

        http://thread.gmane.org/gmane.os.netbsd.devel.kernel/35654

Reviewed by <pgoyette>, <jruoho> and <tech-kern>.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Jan 30 08:57:49 2010 UTC (14 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -2 lines
New sentence, new line.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Jan 30 02:56:39 2010 UTC (14 years, 10 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -4 lines
Since we never have both a limit value and a limit %capacity value,
remove the Capacity column.

Reduce inter-column spacing, and display all four limits on one page,
rather than using the -W command line option to switch between critical
and warning limits.  (The -W option is still permitted, but has no
effect.)

%capacity limits are displayed in the WarnMin and CritMin columns, but
have a trailing % sign.

Revision 1.48.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:20:22 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +17 -10 lines
Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon May 4 22:31:36 2009 UTC (15 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2 lines
Add missing apostrophe.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Feb 15 00:01:19 2009 UTC (15 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +13 -9 lines
New sentence, new line. Bump date for previous.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Feb 14 16:08:22 2009 UTC (15 years, 9 months ago) by ahoka
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -1 lines
Add support for showing temperatures in Kelvin.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Oct 29 17:26:57 2008 UTC (16 years, 1 month ago) by jkunz
Branches: MAIN
CVS tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Branch point for: jym-xensuspend
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -1 lines
Ported alipm(4) and admtemp(4) from OpenBSD.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Oct 11 16:00:41 2008 UTC (16 years, 2 months ago) by pgoyette
Branches: MAIN
CVS tags: matt-mips64-base2
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -4 lines
Update cross-references for addition of dbcool(4) and removal of adt7463c(4)
and adt7467c(4).

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:30:04 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +5 -2 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Aug 22 11:27:50 2008 UTC (16 years, 3 months ago) by pgoyette
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +5 -2 lines
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@

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:36:15 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +18 -11 lines
sync with head.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Apr 30 13:11:02 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -8 lines
Convert TNF licenses to new 2 clause variant

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Apr 26 02:56:57 2008 UTC (16 years, 7 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +17 -4 lines
* 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.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Apr 22 22:37:13 2008 UTC (16 years, 7 months ago) by cegger
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
amdtemp(4): Driver for AMD CPU Temperature Sensors. Adopted from OpenBSD's kate(4).
Changes beyond OpenBSD's driver:
- Improved support for AMD K8
- Added support for AMD Barcelona, AMD Phenom and AMD Griffin
Tested on various single and multi-socket machines.
Review and OK xtreame

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Apr 17 20:51:48 2008 UTC (16 years, 7 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +12 -12 lines
* Add support to show output from specified sensors in multiple devices
  via the -s flag (the requirement for -d is not there anymore). [1]

You can do something like the following now:

$ envstat -s "acpibat0:charge,acpibat0:charge state,acpitz0:temperature"
[acpibat0]
       charge:      3.015 Ah (79.70%)
 charge state:     NORMAL
[acpitz0]
  temperature:     54.000 degC
$

* As bonus, the code has been modified to use a simple queue for
  the sensors, and this has simplified and improved some parts of the
  code as well.

[1] Item requested by joerg@ yesterday.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Apr 3 22:51:53 2008 UTC (16 years, 8 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -2 lines
Mention finsio(4).

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Apr 2 14:29:45 2008 UTC (16 years, 8 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -3 lines
Mention pic16lc(4).

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Apr 2 14:17:40 2008 UTC (16 years, 8 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1 lines
Mention cac(4).

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Apr 2 14:15:27 2008 UTC (16 years, 8 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -2 lines
Mention adt7463c(4) and thinkpad(4) even if the manpages don't exist.

This is to have a reference about which drivers are using the envsys
framework.

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:35 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +3 -2 lines
sync with head.

Revision 1.22.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:50:06 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.22.2.2: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.2: +3 -2 lines
sync with HEAD

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Feb 29 20:59:37 2008 UTC (16 years, 9 months ago) by xtraeme
Branches: MAIN
CVS tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -2 lines
Xref arcmsr(4).

Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 02:01:58 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.22.2.1: preferred, colored
Changes since revision 1.22.2.1: +8 -6 lines
sync with HEAD

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Dec 12 20:27:30 2007 UTC (17 years ago) by xtraeme
Branches: MAIN
CVS tags: matt-armv6-base, hpcarm-cleanup-base
Branch point for: keiichi-mipv6
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -2 lines
Xref battery_pmu(4).

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Dec 1 18:56:42 2007 UTC (17 years ago) by wiz
Branches: MAIN
CVS tags: cube-autoconf-base, cube-autoconf
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Sort SEE ALSO.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Nov 16 08:01:38 2007 UTC (17 years ago) by xtraeme
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +5 -4 lines
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.

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:36:25 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +46 -221 lines
sync with HEAD

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Oct 29 01:00:52 2007 UTC (17 years, 1 month ago) by xtraeme
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -2 lines
Mention coretemp(4).

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Oct 7 18:22:37 2007 UTC (17 years, 2 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -3 lines
Another comment that is no more thanks to the new configuration file.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Oct 7 18:14:20 2007 UTC (17 years, 2 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
Modify a comment that is not valid anymore.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Oct 7 12:43:19 2007 UTC (17 years, 2 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -2 lines
Xref envsys.conf(5)

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Oct 7 04:16:48 2007 UTC (17 years, 2 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +22 -202 lines
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.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Sep 25 14:20:48 2007 UTC (17 years, 2 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +28 -29 lines
Merge a patch from Iain Hibbert (plunky@):

- some unclear language cleaned up
- inconsistent usage of 'device' and 'driver' to refer to the same thing
- difficult error handling

And print the device name if -d flag is not specified for any driver
registered, e.g:

$ envstat
[aiboost0]
  CPU Temperature:     36.000 degC  max:   70.000 degC  min:   15.000 degC
   MB Temperature:     38.000 degC  max:   50.000 degC  min:   15.000 degC
    Vcore Voltage:      1.232 V     max:    1.350 V     min:    1.150 V
     +3.3 Voltage:      3.264 V     max:    3.500 V     min:    3.000 V
       +5 Voltage:      5.017 V     max:    5.600 V     min:    4.500 V
      +12 Voltage:     11.932 V     max:   13.500 V     min:   11.200 V
    CPU FAN Speed:       1268 RPM
$

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Sep 20 19:48:26 2007 UTC (17 years, 2 months ago) by plunky
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
replace inadvertently removed N

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Sep 20 18:38:49 2007 UTC (17 years, 2 months ago) by plunky
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +9 -9 lines
sort options

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Sep 11 21:47:37 2007 UTC (17 years, 3 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -2 lines
Mention aps(4).

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Sep 2 21:31:24 2007 UTC (17 years, 3 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Fix typo in previous.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Sep 2 21:25:24 2007 UTC (17 years, 3 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +8 -3 lines
Add the -I flag that skips sensors with invalid state. They are shown
by default, but this is for users that don't want to print them.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Aug 7 10:17:17 2007 UTC (17 years, 4 months ago) by seb
Branches: MAIN
Branch point for: matt-armv6
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
Fix typo.
Ok'ed by xtraeme@

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Jul 17 13:12:46 2007 UTC (17 years, 4 months ago) by xtraeme
Branches: MAIN
CVS tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -1 lines
Add the -r flag, which is a dummy flag... only added for compatibility
reasons.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Jul 5 20:17:43 2007 UTC (17 years, 5 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
tyop

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jul 4 17:16:15 2007 UTC (17 years, 5 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Fix the example that used -s without -d, found by hira@.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jul 4 17:15:03 2007 UTC (17 years, 5 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -3 lines
Improve description about the -s flag, it must be used with -d.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Jul 2 20:37:06 2007 UTC (17 years, 5 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4 lines
Two grammar fixes from Zafer Aydogan.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jul 1 07:39:46 2007 UTC (17 years, 5 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +272 -38 lines
Imported envsys 2, a brief description of the new features:
(Part 3: userland)

* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
  and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
  sysmon_power(9) and powerd(8), that means there is no 32 bytes event
  size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.

Tested by:

blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon May 7 11:01:28 2007 UTC (17 years, 7 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2 lines
Mention mfi(4), bump date.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Apr 19 14:26:59 2007 UTC (17 years, 7 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -3 lines
* tctrl(4) -> sparc/tctrl(4)
* Mention sparc64/envctrl(4) (hi tnn)

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Mar 14 01:25:42 2007 UTC (17 years, 9 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Erm add missing char.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Mar 14 01:22:44 2007 UTC (17 years, 9 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
Last one: mention adt7467c(4).

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Mar 14 01:12:37 2007 UTC (17 years, 9 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -1 lines
Mention ipmi(4), nsclpcsio(4), owtemp(4), tctrl(4) and tm121temp(4).

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Mar 14 01:03:12 2007 UTC (17 years, 9 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -3 lines
Mention aiboost(4), it(4), ug(4) and viaenv(4), bump date.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 23 09:48:47 2006 UTC (17 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines
Bump date for previous. Remove trailing whitespace.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Dec 14 02:33:18 2006 UTC (18 years ago) by reed
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -1 lines
Add a useful example.

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Thu May 6 05:24:33 2004 UTC (20 years, 7 months ago) by jmc
Branches: netbsd-2-0
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +5 -2 lines
Pullup rev 1.7 (requested by kochi in ticket #250)

Add references to ACPI man pages.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Apr 25 03:13:00 2004 UTC (20 years, 7 months ago) by kochi
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -2 lines
add references to ACPI man pages.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jan 2 14:01:30 2003 UTC (21 years, 11 months ago) by augustss
Branches: MAIN
CVS tags: netbsd-2-0-base, fvdl_fs64_base
Branch point for: netbsd-2-0
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Add -r to synopsis.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 2 13:55:29 2003 UTC (21 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +24 -18 lines
New sentence, new line. Bump date for -r description.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jan 2 11:55:52 2003 UTC (21 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -1 lines
Document the -r flag.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jan 19 03:11:44 2002 UTC (22 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -2 lines
Drop a trailing empty line.

Revision 1.1.4.1: download - view: text, markup, annotated - select for diffs
Sun Jul 30 17:58:24 2000 UTC (24 years, 4 months ago) by bouyer
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +2 -2 lines
Pull up (requested by thorpej):
envstat.8 1.1->1.2
envstat.c 1.2->1.3

If the `device' argument is not specified, attempt to open /dev/sysmon.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Jun 24 00:41:10 2000 UTC (24 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
If the `device' argument is not specified, attempt to open /dev/sysmon.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Mar 10 05:51:58 2000 UTC (24 years, 9 months ago) by groo
Branches: MAIN
CVS tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Add envstat(8) for displaying sensor readings from any envsys(4)
compatible device.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>