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
jkunz
fb8ec4c35a
Ported alipm(4) and admtemp(4) from OpenBSD.
2008-10-29 17:26:56 +00:00
pgoyette
5789563301
Update cross-references for addition of dbcool(4) and removal of adt7463c(4)
...
and adt7467c(4).
2008-10-11 16:00:41 +00:00
reed
0d1a6d8e47
Fix a typo/mispelling.
...
Spell out minimum and maximum.
2008-09-23 21:50:41 +00:00
reed
85ca84de30
Remove extra space.
...
Spell out "maximum" and "minimum".
2008-09-10 19:41:40 +00:00
wiz
c41335c886
Drop trailing whitespace.
2008-08-31 09:40:00 +00:00
pgoyette
6d65ba8398
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@
2008-08-22 11:27:50 +00:00
christos
7b65855e71
simplify the code, from xtraeme.
2008-08-09 04:49:23 +00:00
drochner
1914237fbe
include <stdlib.h> explicitely, for exit(), getprogname() etc.
...
(it happens to be pulled in by the yacc skeleton, but we shouldn't
rely on this)
2008-07-17 16:24:55 +00:00
christos
1c8ebda697
remove printf when the sensor has no statistics; requested by xtraeme.
2008-05-25 20:03:05 +00:00
christos
2fa9c865b5
Don't code using side-effects (eliminate queue variable). Unconfuses Coverity
...
CID 5031.
2008-05-24 15:55:13 +00:00
christos
54cf942f77
Coverity CID 5034: Use after free. Restructure the code to simplify it and
...
print the error.
2008-05-24 15:45:58 +00:00
martin
11a6dbe728
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
xtraeme
dbce9233f7
Don't show statistics in sensors that will provide a percentage.
2008-04-29 21:46:17 +00:00
xtraeme
b02a77aff5
Add missing cast, noticed by Paul Goyette in current-users@.
2008-04-26 20:58:51 +00:00
xtraeme
f4ac0ac2c7
Cur -> Current for the header.
2008-04-26 11:28:26 +00:00
xtraeme
7dbfb3923c
In default display mode, fix up the indentation for the critical
...
limits so that they appear in the correct column.
2008-04-26 11:15:14 +00:00
xtraeme
f960b01be8
* 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.
2008-04-26 02:56:57 +00:00
cegger
68519ac971
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
2008-04-22 22:37:12 +00:00
xtraeme
e7638e85c4
Remove the 'dvnprinted' bool member of sensor_t, it's unused.
2008-04-17 21:19:12 +00:00