2008-04-02 18:15:27 +04:00
|
|
|
.\" $NetBSD: envstat.8,v 1.38 2008/04/02 14:15:27 xtraeme Exp $
|
2000-03-10 08:51:56 +03:00
|
|
|
.\"
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.\" Copyright (c) 2000, 2007 The NetBSD Foundation, Inc.
|
2000-03-10 08:51:56 +03:00
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" This code is derived from software contributed to The NetBSD Foundation
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.\" by Juan Romero Pardines and Bill Squier.
|
2000-03-10 08:51:56 +03:00
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by the NetBSD
|
|
|
|
.\" Foundation, Inc. and its contributors.
|
|
|
|
.\" 4. Neither the name of The NetBSD Foundation nor the names of its
|
|
|
|
.\" contributors may be used to endorse or promote products derived
|
|
|
|
.\" from this software without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
|
|
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
|
|
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
2008-04-02 18:15:27 +04:00
|
|
|
.Dd April 2, 2008
|
2000-03-10 08:51:56 +03:00
|
|
|
.Dt ENVSTAT 8
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm envstat
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.Nd utility to handle environmental sensors
|
2000-03-10 08:51:56 +03:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2007-10-07 08:16:47 +04:00
|
|
|
.Op Fl DfIlSx
|
|
|
|
.Op Fl c Ar file
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.Op Fl d Ar device
|
2000-03-10 08:51:56 +03:00
|
|
|
.Op Fl i Ar interval
|
2007-09-25 18:20:48 +04:00
|
|
|
.Op Fl s Ar "sensor,..."
|
2000-03-10 08:51:56 +03:00
|
|
|
.Op Fl w Ar width
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
is a utility that handles various aspects of the sensors
|
|
|
|
registered with the
|
2000-03-10 08:51:56 +03:00
|
|
|
.Xr envsys 4
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
framework.
|
|
|
|
It is capable of displaying sensor values as well as
|
|
|
|
changing parameters and setting critical limits for the sensors.
|
2000-03-10 08:51:56 +03:00
|
|
|
.Pp
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
In display mode, column widths as well as displayed sensors
|
|
|
|
are fully customizable.
|
2007-10-07 22:14:20 +04:00
|
|
|
Critical limits or other properties can be set via the configuration file.
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
If critical limits were set previously, the display mode will show
|
|
|
|
the critical limits in addition to the current values.
|
|
|
|
.Pp
|
|
|
|
The following options are available:
|
2000-03-10 08:51:56 +03:00
|
|
|
.Bl -tag -width flag
|
2007-10-07 08:16:47 +04:00
|
|
|
.It Fl c
|
|
|
|
Accepts a file as argument to set properties for sensors in
|
|
|
|
devices registered with the framework. See the
|
|
|
|
.Xr envsys.conf 5
|
|
|
|
manual page for more information.
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.It Fl D
|
|
|
|
Display the names of the drivers that were registered with
|
|
|
|
the
|
|
|
|
.Xr envsys 4
|
2007-11-16 11:01:37 +03:00
|
|
|
framework, one per line and some properties for the driver: refresh timeout
|
|
|
|
value, for example.
|
2007-09-25 18:20:48 +04:00
|
|
|
.It Fl d Ar device
|
|
|
|
Display only the sensors for the given
|
|
|
|
.Ar device .
|
|
|
|
This is useful when there are multiple devices registered and
|
|
|
|
you want to only see results from a specific device.
|
2000-03-10 08:51:56 +03:00
|
|
|
.It Fl f
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
Display temperature values in degrees Fahrenheit.
|
2003-01-02 16:55:29 +03:00
|
|
|
The default is to display temperature values in degrees Celsius.
|
2007-09-20 22:38:49 +04:00
|
|
|
.It Fl I
|
2007-09-25 18:20:48 +04:00
|
|
|
This flag skips the sensors with invalid state, these are normally
|
|
|
|
shown using the
|
|
|
|
.Qq N/A
|
2007-09-20 22:38:49 +04:00
|
|
|
string by default.
|
2007-09-25 18:20:48 +04:00
|
|
|
.It Fl i Ar interval
|
2000-03-10 08:51:56 +03:00
|
|
|
Repeat the display every
|
|
|
|
.Ar interval
|
2003-01-02 16:55:29 +03:00
|
|
|
seconds.
|
2007-09-20 23:48:26 +04:00
|
|
|
Note that some devices do not provide fresh values on demand.
|
2007-09-25 18:20:48 +04:00
|
|
|
See the individual devices manual page for meaningful values for
|
2000-03-10 08:51:56 +03:00
|
|
|
.Ar interval .
|
|
|
|
If not specified, or specified as 0,
|
|
|
|
.Nm
|
2007-09-25 18:20:48 +04:00
|
|
|
produces one round of values and exits.
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.It Fl l
|
|
|
|
List the names of all supported sensors, one per line.
|
|
|
|
Use of this flag causes
|
|
|
|
.Nm
|
|
|
|
to ignore all other option flags.
|
2007-07-17 17:12:46 +04:00
|
|
|
.It Fl r
|
2007-09-25 18:20:48 +04:00
|
|
|
This flag is provided for compatibility reasons and there's no need
|
2007-07-17 17:12:46 +04:00
|
|
|
to use it. In the previous implementation, it was used to enable the
|
2007-09-25 18:20:48 +04:00
|
|
|
row mode; this mode is now the default.
|
2007-10-07 08:16:47 +04:00
|
|
|
.It Fl S
|
|
|
|
This flag is used to restore defaults to all devices registered with
|
|
|
|
the framework. This will remove all properties that were set in
|
|
|
|
the configuration file to the setting that the drivers use by
|
|
|
|
default.
|
2007-09-25 18:20:48 +04:00
|
|
|
.It Fl s Ar "sensor,..."
|
2003-01-02 16:55:29 +03:00
|
|
|
Restrict the display to the named sensors.
|
|
|
|
The sensor names must be supplied as a comma separated list.
|
2007-07-04 21:15:03 +04:00
|
|
|
Sensor names are case sensitive. Note that it's mandatory to use the
|
|
|
|
.Fl d
|
2007-09-25 18:20:48 +04:00
|
|
|
flag to specify the device that has the sensor.
|
|
|
|
.It Fl w Ar width
|
2000-03-10 08:51:56 +03:00
|
|
|
Use
|
|
|
|
.Ar width
|
2003-01-02 16:55:29 +03:00
|
|
|
as the column width for the output.
|
|
|
|
Each column is additionally separated by a single space.
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
The default is the length of the longest sensor name.
|
|
|
|
.It Fl x
|
|
|
|
Shows the property list used by the
|
|
|
|
.Xr sysmon_envsys 9
|
|
|
|
framework that contains details about all registered drivers
|
|
|
|
and sensors.
|
2000-03-10 08:51:56 +03:00
|
|
|
.El
|
2006-12-14 05:33:18 +03:00
|
|
|
.Sh EXAMPLES
|
2007-10-07 08:16:47 +04:00
|
|
|
To display the
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.Dq acpibat0 charge
|
|
|
|
sensor on one line every ten seconds:
|
|
|
|
.Pp
|
2007-07-04 21:16:15 +04:00
|
|
|
.Dl $ envstat -s \*qacpibat0 charge\*q -d acpibat0 -i 10
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.Pp
|
2007-10-07 08:16:47 +04:00
|
|
|
To list the drivers that are currently registered with
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.Xr envsys 4 :
|
|
|
|
.Pp
|
|
|
|
.Dl $ envstat -D
|
|
|
|
.Pp
|
2007-10-07 08:16:47 +04:00
|
|
|
To display the sensors of the driver
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.Ar aiboost0 :
|
|
|
|
.Pp
|
|
|
|
.Dl $ envstat -d aiboost0
|
|
|
|
.Pp
|
2007-10-07 08:16:47 +04:00
|
|
|
To set all properties specified in the configuration file:
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.Pp
|
2007-10-07 08:16:47 +04:00
|
|
|
.Dl $ envstat -c /etc/envsys.conf
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.Pp
|
2007-10-07 08:16:47 +04:00
|
|
|
To remove all properties that were previously set by the configuration
|
|
|
|
file:
|
|
|
|
.Dl $ envstat -S
|
2000-03-10 08:51:56 +03:00
|
|
|
.Sh SEE ALSO
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.Xr proplib 3 ,
|
2004-04-25 07:13:00 +04:00
|
|
|
.Xr acpiacad 4 ,
|
|
|
|
.Xr acpibat 4 ,
|
|
|
|
.Xr acpitz 4 ,
|
2008-04-02 18:15:27 +04:00
|
|
|
.Xr adt7463c 4 ,
|
2007-03-14 04:25:42 +03:00
|
|
|
.Xr adt7467c 4 ,
|
2007-03-14 04:03:12 +03:00
|
|
|
.Xr aiboost 4 ,
|
2007-09-12 01:47:37 +04:00
|
|
|
.Xr aps 4 ,
|
2008-02-29 23:59:37 +03:00
|
|
|
.Xr arcmsr 4 ,
|
2007-12-12 23:27:30 +03:00
|
|
|
.Xr battery_pmu 4 ,
|
2007-10-29 04:00:52 +03:00
|
|
|
.Xr coretemp 4 ,
|
2007-12-01 21:56:42 +03:00
|
|
|
.Xr sparc64/envctrl 4 ,
|
2000-03-10 08:51:56 +03:00
|
|
|
.Xr envsys 4 ,
|
2007-03-14 04:12:27 +03:00
|
|
|
.Xr ipmi 4 ,
|
2007-11-16 11:01:37 +03:00
|
|
|
.Xr itesio 4 ,
|
2007-03-14 04:03:12 +03:00
|
|
|
.Xr lm 4 ,
|
2007-03-14 04:12:27 +03:00
|
|
|
.Xr lmtemp 4 ,
|
2007-05-07 15:00:43 +04:00
|
|
|
.Xr mfi 4 ,
|
2007-03-14 04:12:27 +03:00
|
|
|
.Xr nsclpcsio 4 ,
|
|
|
|
.Xr owtemp 4 ,
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
.Xr smsc 4 ,
|
2007-12-01 21:56:42 +03:00
|
|
|
.Xr sparc/tctrl 4 ,
|
2008-04-02 18:15:27 +04:00
|
|
|
.Xr thinkpad 4 ,
|
2007-03-14 04:12:27 +03:00
|
|
|
.Xr tm121temp 4 ,
|
2007-03-14 04:03:12 +03:00
|
|
|
.Xr ug 4 ,
|
2007-10-07 16:43:19 +04:00
|
|
|
.Xr viaenv 4 ,
|
|
|
|
.Xr envsys.conf 5
|
2000-03-10 08:51:56 +03:00
|
|
|
.Sh HISTORY
|
|
|
|
.Nm
|
|
|
|
appeared in
|
|
|
|
.Nx 1.5 .
|
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).
2007-07-01 11:39:45 +04:00
|
|
|
It was completely rewritten from scratch for
|
|
|
|
.Nx 5.0 .
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An -nosplit
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility that appeared in
|
|
|
|
.Nx 5.0
|
|
|
|
was written by
|
|
|
|
.An Juan Romero Pardines .
|
|
|
|
The previous version was written by
|
|
|
|
.An Bill Squier .
|