Source-Changes archive

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

CVS commit: src/usr.sbin/envstat



Module Name:    src
Committed By:   xtraeme
Date:           Thu Apr 17 20:51:48 UTC 2008

Modified Files:
        src/usr.sbin/envstat: envstat.8 envstat.c

Log Message:
* 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.


To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 src/usr.sbin/envstat/envstat.8
cvs rdiff -r1.58 -r1.59 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