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


Default branch: MAIN


Revision 1.67 / (download) - annotate - [select for diffs], Mon Nov 21 21:24:02 2022 UTC (15 months ago) by brad
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.66: +3 -1 lines
Diff to previous 1.66 (colored)



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) - annotate - [select for diffs], Sat Nov 14 20:07:13 2020 UTC (3 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.65: +14 -11 lines
Diff to previous 1.65 (colored)

New sentence, new line.
Other whitespace fixes, and some Xr fixes.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Nov 14 16:32:53 2020 UTC (3 years, 3 months ago) by mlelstv
Branch: MAIN
Changes since 1.64: +7 -2 lines
Diff to previous 1.64 (colored)

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) - annotate - [select for diffs], Sat Nov 14 12:36:49 2020 UTC (3 years, 3 months ago) by mlelstv
Branch: MAIN
Changes since 1.63: +25 -3 lines
Diff to previous 1.63 (colored)

Allow to select raw output for a single device or a list of sensors.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Nov 14 09:11:55 2020 UTC (3 years, 3 months ago) by mlelstv
Branch: MAIN
Changes since 1.62: +5 -1 lines
Diff to previous 1.62 (colored)

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) - annotate - [select for diffs], Wed Aug 20 00:05:07 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.61: +6 -3 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.61.16.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:59:27 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.61: +6 -3 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Rebase.

Revision 1.62 / (download) - annotate - [select for diffs], Sun May 18 11:46:24 2014 UTC (9 years, 9 months ago) by kardel
Branch: 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-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-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
Changes since 1.61: +6 -3 lines
Diff to previous 1.61 (colored)

add HYT-221/271/939 humidity/temperature I2C sensor
extend envsys(4) framework by %rH (relative humidity)

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:46 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.60: +13 -12 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

sync with head

Revision 1.61 / (download) - annotate - [select for diffs], Thu Feb 9 18:10:26 2012 UTC (12 years ago) by riz
Branch: 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
Changes since 1.60: +13 -12 lines
Diff to previous 1.60 (colored)

Various English usage, spelling and markup fixes for envstat(4)-related
things, from Snader_LB.

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:46 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.58: +8 -2 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Jun 7 17:47:24 2011 UTC (12 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.59: +7 -7 lines
Diff to previous 1.59 (colored)

Sort sections.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Jun 7 17:28:59 2011 UTC (12 years, 8 months ago) by pgoyette
Branch: MAIN
Changes since 1.58: +8 -2 lines
Diff to previous 1.58 (colored)

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) - annotate - [select for diffs], Tue Oct 5 10:03:53 2010 UTC (13 years, 4 months ago) by njoly
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Add option k to synopsis.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Jul 9 22:24:13 2010 UTC (13 years, 7 months ago) by reed
Branch: MAIN
Changes since 1.56: +30 -2 lines
Diff to previous 1.56 (colored)

Add brief explanations of unit abbreviations.
Add units(1) to see also.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Mar 19 04:04:28 2010 UTC (13 years, 11 months ago) by cnst
Branch: MAIN
Changes since 1.55: +1 -2 lines
Diff to previous 1.55 (colored)

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) - annotate - [select for diffs], Mon Feb 15 22:38:28 2010 UTC (14 years ago) by pgoyette
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Update cross-reference to refer to new aibs(4) instead of aiboost(4)

Revision 1.54 / (download) - annotate - [select for diffs], Tue Feb 9 03:19:51 2010 UTC (14 years ago) by cnst
Branch: MAIN
Changes since 1.53: +2 -1 lines
Diff to previous 1.53 (colored)

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) - annotate - [select for diffs], Sat Jan 30 08:57:49 2010 UTC (14 years ago) by wiz
Branch: MAIN
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored)

New sentence, new line.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Jan 30 02:56:39 2010 UTC (14 years ago) by pgoyette
Branch: MAIN
Changes since 1.51: +3 -4 lines
Diff to previous 1.51 (colored)

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) - annotate - [select for diffs], Wed May 13 19:20:22 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.48: +17 -10 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

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

Revision 1.51 / (download) - annotate - [select for diffs], Mon May 4 22:31:36 2009 UTC (14 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Add missing apostrophe.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Feb 15 00:01:19 2009 UTC (15 years ago) by wiz
Branch: MAIN
Changes since 1.49: +13 -9 lines
Diff to previous 1.49 (colored)

New sentence, new line. Bump date for previous.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Feb 14 16:08:22 2009 UTC (15 years ago) by ahoka
Branch: MAIN
Changes since 1.48: +4 -1 lines
Diff to previous 1.48 (colored)

Add support for showing temperatures in Kelvin.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Oct 29 17:26:57 2008 UTC (15 years, 4 months ago) by jkunz
Branch: 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
Changes since 1.47: +2 -1 lines
Diff to previous 1.47 (colored)

Ported alipm(4) and admtemp(4) from OpenBSD.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Oct 11 16:00:41 2008 UTC (15 years, 4 months ago) by pgoyette
Branch: MAIN
CVS Tags: matt-mips64-base2
Changes since 1.46: +3 -4 lines
Diff to previous 1.46 (colored)

Update cross-references for addition of dbcool(4) and removal of adt7463c(4)
and adt7467c(4).

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:30:04 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.45: +5 -2 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Aug 22 11:27:50 2008 UTC (15 years, 6 months ago) by pgoyette
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.45: +5 -2 lines
Diff to previous 1.45 (colored)

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) - annotate - [select for diffs], Sun May 18 12:36:15 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.42: +18 -11 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Apr 30 13:11:02 2008 UTC (15 years, 10 months ago) by martin
Branch: 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
Changes since 1.44: +1 -8 lines
Diff to previous 1.44 (colored)

Convert TNF licenses to new 2 clause variant

Revision 1.44 / (download) - annotate - [select for diffs], Sat Apr 26 02:56:57 2008 UTC (15 years, 10 months ago) by xtraeme
Branch: MAIN
Changes since 1.43: +17 -4 lines
Diff to previous 1.43 (colored)

* 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) - annotate - [select for diffs], Tue Apr 22 22:37:13 2008 UTC (15 years, 10 months ago) by cegger
Branch: MAIN
Changes since 1.42: +2 -1 lines
Diff to previous 1.42 (colored)

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) - annotate - [select for diffs], Thu Apr 17 20:51:48 2008 UTC (15 years, 10 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.41: +12 -12 lines
Diff to previous 1.41 (colored)

* 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) - annotate - [select for diffs], Thu Apr 3 22:51:53 2008 UTC (15 years, 10 months ago) by xtraeme
Branch: MAIN
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored)

Mention finsio(4).

Revision 1.40 / (download) - annotate - [select for diffs], Wed Apr 2 14:29:45 2008 UTC (15 years, 10 months ago) by xtraeme
Branch: MAIN
Changes since 1.39: +4 -3 lines
Diff to previous 1.39 (colored)

Mention pic16lc(4).

Revision 1.39 / (download) - annotate - [select for diffs], Wed Apr 2 14:17:40 2008 UTC (15 years, 10 months ago) by xtraeme
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

Mention cac(4).

Revision 1.38 / (download) - annotate - [select for diffs], Wed Apr 2 14:15:27 2008 UTC (15 years, 10 months ago) by xtraeme
Branch: MAIN
Changes since 1.37: +4 -2 lines
Diff to previous 1.37 (colored)

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) - annotate - [select for diffs], Mon Mar 24 07:16:35 2008 UTC (15 years, 11 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with head.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 00:50:06 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.22.2.2: +3 -2 lines
Diff to previous 1.22.2.2 (colored) next main 1.23 (colored)

sync with HEAD

Revision 1.37 / (download) - annotate - [select for diffs], Fri Feb 29 20:59:37 2008 UTC (16 years ago) by xtraeme
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored)

Xref arcmsr(4).

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 02:01:58 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.22.2.1: +8 -6 lines
Diff to previous 1.22.2.1 (colored)

sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Wed Dec 12 20:27:30 2007 UTC (16 years, 2 months ago) by xtraeme
Branch: MAIN
CVS Tags: matt-armv6-base, hpcarm-cleanup-base
Branch point for: keiichi-mipv6
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored)

Xref battery_pmu(4).

Revision 1.35 / (download) - annotate - [select for diffs], Sat Dec 1 18:56:42 2007 UTC (16 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: cube-autoconf-base, cube-autoconf
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Sort SEE ALSO.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Nov 16 08:01:38 2007 UTC (16 years, 3 months ago) by xtraeme
Branch: MAIN
Changes since 1.33: +5 -4 lines
Diff to previous 1.33 (colored)

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) - annotate - [select for diffs], Tue Nov 6 23:36:25 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.22: +46 -221 lines
Diff to previous 1.22 (colored)

sync with HEAD

Revision 1.33 / (download) - annotate - [select for diffs], Mon Oct 29 01:00:52 2007 UTC (16 years, 4 months ago) by xtraeme
Branch: MAIN
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored)

Mention coretemp(4).

Revision 1.32 / (download) - annotate - [select for diffs], Sun Oct 7 18:22:37 2007 UTC (16 years, 4 months ago) by xtraeme
Branch: MAIN
Changes since 1.31: +1 -3 lines
Diff to previous 1.31 (colored)

Another comment that is no more thanks to the new configuration file.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Oct 7 18:14:20 2007 UTC (16 years, 4 months ago) by xtraeme
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Modify a comment that is not valid anymore.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Oct 7 12:43:19 2007 UTC (16 years, 4 months ago) by xtraeme
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored)

Xref envsys.conf(5)

Revision 1.29 / (download) - annotate - [select for diffs], Sun Oct 7 04:16:48 2007 UTC (16 years, 4 months ago) by xtraeme
Branch: MAIN
Changes since 1.28: +22 -202 lines
Diff to previous 1.28 (colored)

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) - annotate - [select for diffs], Tue Sep 25 14:20:48 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.27: +28 -29 lines
Diff to previous 1.27 (colored)

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) - annotate - [select for diffs], Thu Sep 20 19:48:26 2007 UTC (16 years, 5 months ago) by plunky
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

replace inadvertently removed N

Revision 1.26 / (download) - annotate - [select for diffs], Thu Sep 20 18:38:49 2007 UTC (16 years, 5 months ago) by plunky
Branch: MAIN
Changes since 1.25: +9 -9 lines
Diff to previous 1.25 (colored)

sort options

Revision 1.25 / (download) - annotate - [select for diffs], Tue Sep 11 21:47:37 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

Mention aps(4).

Revision 1.24 / (download) - annotate - [select for diffs], Sun Sep 2 21:31:24 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Fix typo in previous.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Sep 2 21:25:24 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.22: +8 -3 lines
Diff to previous 1.22 (colored)

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) - annotate - [select for diffs], Tue Aug 7 10:17:17 2007 UTC (16 years, 6 months ago) by seb
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Fix typo.
Ok'ed by xtraeme@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 17 13:12:46 2007 UTC (16 years, 7 months ago) by xtraeme
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Changes since 1.20: +5 -1 lines
Diff to previous 1.20 (colored)

Add the -r flag, which is a dummy flag... only added for compatibility
reasons.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jul 5 20:17:43 2007 UTC (16 years, 7 months ago) by xtraeme
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

tyop

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jul 4 17:16:15 2007 UTC (16 years, 7 months ago) by xtraeme
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Fix the example that used -s without -d, found by hira@.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 4 17:15:03 2007 UTC (16 years, 7 months ago) by xtraeme
Branch: MAIN
Changes since 1.17: +5 -3 lines
Diff to previous 1.17 (colored)

Improve description about the -s flag, it must be used with -d.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 2 20:37:06 2007 UTC (16 years, 7 months ago) by xtraeme
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

Two grammar fixes from Zafer Aydogan.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jul 1 07:39:46 2007 UTC (16 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.15: +272 -38 lines
Diff to previous 1.15 (colored)

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) - annotate - [select for diffs], Mon May 7 11:01:28 2007 UTC (16 years, 9 months ago) by xtraeme
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

Mention mfi(4), bump date.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Apr 19 14:26:59 2007 UTC (16 years, 10 months ago) by xtraeme
Branch: MAIN
Changes since 1.13: +4 -3 lines
Diff to previous 1.13 (colored)

* tctrl(4) -> sparc/tctrl(4)
* Mention sparc64/envctrl(4) (hi tnn)

Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 14 01:25:42 2007 UTC (16 years, 11 months ago) by xtraeme
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Erm add missing char.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Mar 14 01:22:44 2007 UTC (16 years, 11 months ago) by xtraeme
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Last one: mention adt7467c(4).

Revision 1.11 / (download) - annotate - [select for diffs], Wed Mar 14 01:12:37 2007 UTC (16 years, 11 months ago) by xtraeme
Branch: MAIN
Changes since 1.10: +7 -1 lines
Diff to previous 1.10 (colored)

Mention ipmi(4), nsclpcsio(4), owtemp(4), tctrl(4) and tm121temp(4).

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 14 01:03:12 2007 UTC (16 years, 11 months ago) by xtraeme
Branch: MAIN
Changes since 1.9: +7 -3 lines
Diff to previous 1.9 (colored)

Mention aiboost(4), it(4), ug(4) and viaenv(4), bump date.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 23 09:48:47 2006 UTC (17 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

Bump date for previous. Remove trailing whitespace.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 14 02:33:18 2006 UTC (17 years, 2 months ago) by reed
Branch: MAIN
Changes since 1.7: +6 -1 lines
Diff to previous 1.7 (colored)

Add a useful example.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Thu May 6 05:24:33 2004 UTC (19 years, 9 months ago) by jmc
Branch: 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
Changes since 1.6: +5 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Pullup rev 1.7 (requested by kochi in ticket #250)

Add references to ACPI man pages.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Apr 25 03:13:00 2004 UTC (19 years, 10 months ago) by kochi
Branch: 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
Changes since 1.6: +5 -2 lines
Diff to previous 1.6 (colored)

add references to ACPI man pages.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 2 14:01:30 2003 UTC (21 years, 1 month ago) by augustss
Branch: MAIN
CVS Tags: netbsd-2-0-base, fvdl_fs64_base
Branch point for: netbsd-2-0
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Add -r to synopsis.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jan 2 13:55:29 2003 UTC (21 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.4: +24 -18 lines
Diff to previous 1.4 (colored)

New sentence, new line. Bump date for -r description.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jan 2 11:55:52 2003 UTC (21 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored)

Document the -r flag.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 19 03:11:44 2002 UTC (22 years, 1 month ago) by wiz
Branch: 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
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

Drop a trailing empty line.

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Sun Jul 30 17:58:24 2000 UTC (23 years, 7 months ago) by bouyer
Branch: 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
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

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) - annotate - [select for diffs], Sat Jun 24 00:41:10 2000 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Fri Mar 10 05:51:58 2000 UTC (23 years, 11 months ago) by groo
Branch: 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.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>