Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/envstat Add brief explanations of unit abbreviations.



details:   https://anonhg.NetBSD.org/src/rev/4c1ac9743a8a
branches:  trunk
changeset: 756265:4c1ac9743a8a
user:      reed <reed%NetBSD.org@localhost>
date:      Fri Jul 09 22:24:13 2010 +0000

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

diffstat:

 usr.sbin/envstat/envstat.8 |  32 ++++++++++++++++++++++++++++++--
 1 files changed, 30 insertions(+), 2 deletions(-)

diffs (60 lines):

diff -r 8957197eeb4a -r 4c1ac9743a8a usr.sbin/envstat/envstat.8
--- a/usr.sbin/envstat/envstat.8        Fri Jul 09 21:47:43 2010 +0000
+++ b/usr.sbin/envstat/envstat.8        Fri Jul 09 22:24:13 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: envstat.8,v 1.56 2010/03/19 04:04:28 cnst Exp $
+.\"    $NetBSD: envstat.8,v 1.57 2010/07/09 22:24:13 reed Exp $
 .\"
 .\" Copyright (c) 2000, 2007, 2008, 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 29, 2010
+.Dd July 9, 2010
 .Dt ENVSTAT 8
 .Os
 .Sh NAME
@@ -139,6 +139,33 @@
 framework that contains details about all registered drivers
 and sensors.
 .El
+.Sh UNITS
+The display mode may show some values with abbreviated units;
+for example:
+.Bl -tag -width "12345678" -compact -offset indent
+.It A
+Amperes
+.It Ah
+Ampere-hours
+.It degC
+degrees Celsius
+.It degF
+degrees Fahrenheit
+.It K
+Kelvin
+.It Ohms
+Ohms
+.It RPM
+Revolutions per minute
+.It V
+Volts DC
+.It VAC
+Volts AC
+.It W
+Watts
+.It Wh
+Watt-hours
+.El
 .Sh EXAMPLES
 To display the
 .Dq charge
@@ -172,6 +199,7 @@
 .Pp
 .Dl $ envstat -ITi1
 .Sh SEE ALSO
+.Xr units 1 ,
 .Xr proplib 3 ,
 .Xr acpiacad 4 ,
 .Xr acpibat 4 ,



Home | Main Index | Thread Index | Old Index