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