Subject: Re: bin/36606: envstat -s does not work
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Juan RP <juan@xtrarom.org>
List: netbsd-bugs
Date: 07/04/2007 17:10:07
The following reply was made to PR bin/36606; it has been noted by GNATS.
From: Juan RP <juan@xtrarom.org>
To: gnats-bugs@NetBSD.org
Cc: hira@po6.nsk.ne.jp
Subject: Re: bin/36606: envstat -s does not work
Date: Wed, 4 Jul 2007 19:08:30 +0200
On Wed, 4 Jul 2007 17:05:00 +0000 (UTC)
hira@po6.nsk.ne.jp wrote:
> >Description:
> Since merging envsys2, envstat -s does not work.
>
> % envstat -l | grep "acpibat0 charge"
> acpibat0 charge rate
> acpibat0 charge
> % envstat -s "acpibat0 charge" -i 10
> envstat: unknown sensor `acpibat0 charge'
> %
If you want to use the '-s' flag, you have to use the '-d' flag too.
Otherwise if there are sensors with the same description there's no easy
way which to choose.
Please see envstat(8), it's all explained there.
--
Juan Romero Pardines - The NetBSD Project
http://plog.xtrarom.org - NetBSD/pkgsrc news in Spanish