Re: sensors fun..



Andrey Chernov wrote:
On Wed, Oct 17, 2007 at 06:20:26PM -0700, Julian Elischer wrote:
As you can guess from the first couple of lines, measured will also
answer as a HTTP server, so you can just point your browser at it,
and see what all the sensors record or manipulate actuators.
The protocol you see above, is trivally implemented in any language.
Creating a graphical "control panel" for stuff in for instance Tk
is trival.
actually I did almost EXACTLY that for Vicor, with tcl/tk and mbmon which can do something similar to what you showed above. Every machine had mbmon listening on port XXX and tcl/tk scanned them all and showed them 64 machines to the page.

The same can be achieved in more simpler way by just reading/writing DEVFS devices and not involves slow TCP/HTTP/tcl/etc path (some sensors may needs very fast reaction, perhaps realtime).

hard to read /dev/xxx on another machine.



_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"