From owner-freebsd-arch@FreeBSD.ORG Thu Oct 18 02:00:51 2007 Return-Path: Delivered-To: arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F62516A41A for ; Thu, 18 Oct 2007 02:00:51 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outK.internet-mail-service.net (outK.internet-mail-service.net [216.240.47.234]) by mx1.freebsd.org (Postfix) with ESMTP id 4874513C46E for ; Thu, 18 Oct 2007 02:00:51 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Wed, 17 Oct 2007 19:00:49 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (nat.ironport.com [63.251.108.100]) by idiom.com (Postfix) with ESMTP id 1663112671C; Wed, 17 Oct 2007 19:00:49 -0700 (PDT) Message-ID: <4716BE63.4000608@elischer.org> Date: Wed, 17 Oct 2007 19:01:07 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Andrey Chernov References: <52434.1192654769@critter.freebsd.dk> <4716B4DA.9090603@elischer.org> <20071018013802.GC82493@nagual.pp.ru> In-Reply-To: <20071018013802.GC82493@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: arch@FreeBSD.ORG, Poul-Henning Kamp , "Constantine A. Murenin" Subject: Re: sensors fun.. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 02:00:51 -0000 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. >