Re: sensors fun..
- From: Sam Lawrance <boris@xxxxxxxxxxxxxxx>
- Date: Thu, 25 Oct 2007 06:33:49 +1000
On 18/10/2007, at 2:45 AM, John Baldwin wrote:
[Trying to redirect this off cvs-all & friends.. ]
So as I said previously, I thought about this some more offline last night /
this morning and looked at the code some and here are my thoughts:
Things I like about the current sensors code:
- I like the actual sensor object used to represent a sensor. It has a few
basic things like a string for a name, a type (I would have just done
a "units" for the value, but the type is basically that), and a basic alarm
state. (I might have done 4 states, think green, yellow, orange, red mapped
to good, warning, critical, bad. However, the 3 states in the current code
is fine. 4 states might be overkill.)
Perhaps an "unknown" state would be useful for those times when things aren't going quite right.
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- References:
- sensors fun..
- From: John Baldwin
- sensors fun..
- Prev by Date: Re: Should Xen be a sub-arch or a build option?
- Next by Date: Re: Should Xen be a sub-arch or a build option?
- Previous by thread: Re: sensors fun..
- Next by thread: Re: cvs commit: src/etc Makefile sensorsd.conf src/etc/defaults rc.conf src/etc/rc.d Makefile sensorsd src/lib/libc/gen sysctl.3 src/sbin/sysctl sysctl.8 sysctl.c src/share/man/man5 rc.conf.5 src/share/man/man9 Makefile sensor_attach.9 src/sys/conf files ...
- Index(es):
Relevant Pages
|
|