thorpej
bba3c68329
Update for proplib(3) API changes.
2020-06-07 00:51:48 +00:00
joerg
f60db1d4f9
Externalize yytext, it belongs to the lexer
2020-04-22 23:51:34 +00:00
thorpej
033d68f1b3
Add support for light sensors that report Illuminance in lux.
2018-05-27 01:39:00 +00:00
wiz
01869ca4d2
Remove workaround for ancient HTML generation code.
2017-07-03 21:28:48 +00:00
kardel
54c2251d60
add HYT-221/271/939 humidity/temperature I2C sensor
...
extend envsys(4) framework by %rH (relative humidity)
2014-05-18 11:46:23 +00:00
pgoyette
270592accd
Since we're no longer making a copy of the option args, we shouldn't
...
attempt to free it.
2012-12-14 05:29:28 +00:00
christos
dd6ce158a9
- no point in allocating memory to hold command line arguments.
...
- allocate memory inside the function used.
2012-12-13 20:06:42 +00:00
christos
83779a48b3
PR/47316: Henning Petersen: Memory leak in envstat with config file.
2012-12-13 19:31:25 +00:00
njoly
8b220255d1
Fix alignment display for temperature, fans and integer units.
2012-05-11 18:41:12 +00:00
joerg
66dd2755f5
Add __printflike attribution to use vprintf and friends with an argument
...
as format string.
2012-03-15 02:02:20 +00:00
riz
af51433848
Various English usage, spelling and markup fixes for envstat(4)-related
...
things, from Snader_LB.
2012-02-09 18:10:26 +00:00
jmcneill
1d4bba4173
change printed indicator and battery charge strings from ON and OFF to TRUE
...
and FALSE, because messages like "battery present: ON" are difficult for my
brain to parse.
2011-12-04 19:34:22 +00:00
joerg
bec77c5f43
Use __dead
2011-08-31 13:32:36 +00:00
pgoyette
eaed4c6e56
Instead of relying on the want-percent attribute, use the sensor
...
type to restrict value-based limits from Battery-capacity sensors.
2011-06-08 16:11:25 +00:00
wiz
c8bcdb2bd2
Sort sections.
2011-06-07 17:47:24 +00:00
pgoyette
40470b7ff0
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.
2011-06-07 17:28:59 +00:00
pgoyette
83a2ecf6cc
Zero is a valid value for some sensors so update statistics code to
...
handle that.
2011-06-07 17:24:32 +00:00
pgoyette
c84ec94ab0
1. Don't print blank for Integer sensors with value of zero
...
2. Properly print percentages in -T statistics mode
3. Always set Sensor Type (units) to a non-NULL value
4. Enable printing of percentages for Integer sensors
2011-06-06 20:48:56 +00:00
pgoyette
dec626b5e2
Since there is no longer a value-avg property, remove the code that
...
extracts it.
2011-06-04 13:29:02 +00:00
pgoyette
120c01c6d1
When skipping output for a temperature of absolute zero, don't forget to
...
skip past the display columns that the value would otherwise occupy.
Fixes display issue when swsensor(4) is used and it has a value of 0K,
as reported by njoly@
2010-12-16 14:37:23 +00:00
pooka
d84441777f
Don't need prog_ioctl here, it's a leftover of the previous approach.
...
pointed out by Paul Goyette
2010-12-15 15:07:54 +00:00
pooka
57ec646236
Use a consistent approach for rump kernel calls made by libs.
...
Should investigate a dynamic approach in the future.
2010-12-14 08:04:14 +00:00
pooka
3d4766ce57
RUMP_ACTION -> RUMPPRG
2010-12-13 18:00:38 +00:00
pooka
7d1c54af24
adapt to new rumpclient_init() signature
2010-11-05 13:52:41 +00:00
pooka
1ec3731938
support rump client mode
2010-11-05 13:42:37 +00:00
njoly
830a6e0073
Add option k to synopsis.
2010-10-05 10:03:53 +00:00
pgoyette
87b1c2cb4e
Apply proper conversion (which is _no_ conversion) when setting limit
...
values for sensors of type ENVSYS_INTEGER.
2010-10-05 05:03:49 +00:00
pgoyette
58f7870b48
Some Integer-type sensors can have limits, so allow them to be displayed.
2010-10-05 00:14:55 +00:00
jruoho
d439ff278b
Use <paths.h>. Remove trailing white space.
2010-08-26 05:25:57 +00:00
mlelstv
1898a7c316
Print the correct value for critmin of a fan sensor.
2010-08-01 15:39:52 +00:00
reed
a66933c999
Add brief explanations of unit abbreviations.
...
Add units(1) to see also.
2010-07-09 22:24:13 +00:00
cnst
deaf16ef51
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>.
2010-03-19 04:04:27 +00:00
pgoyette
c4b330d512
Document the new {high, maximum}-capacity keywords, and some general
...
clean-up.
2010-02-15 23:04:11 +00:00
pgoyette
55a81df24d
Update cross-reference to refer to new aibs(4) instead of aiboost(4)
2010-02-15 22:38:28 +00:00
pgoyette
74999bdda4
Update userland envstat(8) to handle new {high,maximum}-capacity limits.
2010-02-15 22:37:14 +00:00
njoly
9a9cbde160
Fix double free, when requesting an invalid sensor.
2010-02-12 14:26:27 +00:00
cnst
7397d018ca
remove the fourth (empty) column from the -T printouts; ok pgoyette
2010-02-12 05:02:40 +00:00
cnst
0854bc43a8
fix a typo resulting in warn-max being shown in two columns (one time instead of crit-min); ok pgoyette
2010-02-09 05:32:51 +00:00
cnst
1c23afa3cb
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>.
2010-02-09 03:19:50 +00:00
wiz
05f103b5db
New sentence, new line.
2010-01-30 08:57:49 +00:00
pgoyette
c6140fa206
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.
2010-01-30 02:56:39 +00:00
christos
aecc92ac3d
option noinput nounput
2009-10-29 14:38:37 +00:00
christos
2f78b1a39a
no unput
2009-10-28 22:37:50 +00:00
wiz
0ef2a88d96
New sentence, new line.
2009-05-13 23:03:54 +00:00
wiz
cc8e7a968a
Add missing apostrophe.
2009-05-04 22:31:36 +00:00
lukem
d877c4c3c0
Enable WARNS=4 by default, except for:
...
cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest
kimpersonate kstash ktutil makefs ndbootd ntp pppd quot
racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump
traceroute traceroute6 user veriexecgen wsmoused zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00
drochner
0fa7059102
define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160
2009-04-20 16:05:29 +00:00
christos
9587268219
fix pasto: don't print the critcap when the warncap was asked. Also off by
...
one in length. From Anon-Ymous.
XXX: Should pull up to 5.0
2009-04-04 18:43:01 +00:00
wiz
845915475d
New sentence, new line. Bump date for previous.
2009-02-15 00:01:19 +00:00
ahoka
4f97e87b0c
Add support for showing temperatures in Kelvin.
2009-02-14 16:08:22 +00:00