Date: Wed, 17 Oct 2007 19:01:07 -0700 From: Julian Elischer <julian@elischer.org> To: Andrey Chernov <ache@nagual.pp.ru> Cc: arch@FreeBSD.ORG, Poul-Henning Kamp <phk@phk.freebsd.dk>, "Constantine A. Murenin" <cnst@FreeBSD.ORG> Subject: Re: sensors fun.. Message-ID: <4716BE63.4000608@elischer.org> In-Reply-To: <20071018013802.GC82493@nagual.pp.ru> References: <52434.1192654769@critter.freebsd.dk> <4716B4DA.9090603@elischer.org> <20071018013802.GC82493@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4716BE63.4000608>