Subject: Re: CVS commit: src/usr.sbin/envstat
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Juan RP <juan@xtrarom.org>
List: source-changes
Date: 07/05/2007 12:24:15
On Thu,  5 Jul 2007 19:23:43 +0900 (JST)
yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:

> % envstat -s "acpiacad0 disconnected","acpiacad0 connected"
>      acpiacad0 connected  acpiacad0 disconnected
>                     bool                    bool
>                       ON                     OFF
> 
> have you changed them to use "invalid" state instead of "OFF"?

This is the old mode, aka "column mode". The new envstat uses "row mode",
like the old -r flag.

This mode does not show Indicator sensors if they are in invalid state,
or if they are in valid state but value_cur is 0.

-- 
Juan Romero Pardines	- The NetBSD Project
http://plog.xtrarom.org	- NetBSD/pkgsrc news in Spanish