From owner-freebsd-hackers Sun Dec 23 10:15:27 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id EC9F737B41A for ; Sun, 23 Dec 2001 10:15:25 -0800 (PST) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.11.3/8.10.1) with ESMTP id fBNIFkb36233; Sun, 23 Dec 2001 10:15:46 -0800 (PST) Date: Sun, 23 Dec 2001 10:15:46 -0800 (PST) From: Doug White To: Robert Sexton Cc: Subject: Re: Looking for a sysctl logger In-Reply-To: <20011221173245.B85713@kudra.com> Message-ID: X-All-Your-Base: are belong to us MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 21 Dec 2001, Robert Sexton wrote: > I'm looking for a program that can interrogate the sysctl mechanism > and dump the data out for use by rrd or some other thing. > > I have something that does this now for acpi battery info (I feed the > data into rrd for analysis), but I was hoping for something more > general purpose. And no, I don't want to write it in perl : -) > I'm trying to make it low impact, hence c. mrtg? :-) You're just calling sysctl and returning the result; it could be done in a very short shell script. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message