From owner-freebsd-arch@FreeBSD.ORG Thu Oct 18 01:38:10 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 A54E116A420; Thu, 18 Oct 2007 01:38:10 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 26A8B13C45B; Thu, 18 Oct 2007 01:38:09 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9I1c4Bp082829; Thu, 18 Oct 2007 05:38:04 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1192671484; bh=zsgSDnGGDr+zUJ1NTK2+FNG20zIaBuaWEHnqW05 kZto=; l=915; h=Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To: User-Agent; b=VrTmGqsEnEyo/9AK/ieJn4/CKLke9BXuGf/TAUELUbVz8EjoEEIX h4OiZRGWLNUN2JtsibvIhk57cd3aEtFH0a/yDT691rOQjnqoaX3WCZChi23H9a3MWLK LNsWHA4qgTKdqbJBH7VFXwfB9ybojy6Q6ReZg7n/GJ9DbkjAtJvQ= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9I1c4dI082828; Thu, 18 Oct 2007 05:38:04 +0400 (MSD) (envelope-from ache) Date: Thu, 18 Oct 2007 05:38:03 +0400 From: Andrey Chernov To: Julian Elischer Message-ID: <20071018013802.GC82493@nagual.pp.ru> References: <52434.1192654769@critter.freebsd.dk> <4716B4DA.9090603@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4716B4DA.9090603@elischer.org> User-Agent: Mutt/1.5.16 (2007-06-09) 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 01:38:10 -0000 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/