From owner-freebsd-performance@FreeBSD.ORG Tue Sep 23 09:19:54 2014 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 546F1F96 for ; Tue, 23 Sep 2014 09:19:54 +0000 (UTC) Received: from systemdatarecorder.org (mail.systemdatarecorder.org [54.246.96.61]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "localhost" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E26E38E2 for ; Tue, 23 Sep 2014 09:19:53 +0000 (UTC) Received: from nereid (188-127-209-196.cust.suomicom.net [188.127.209.196]) (authenticated bits=0) by systemdatarecorder.org (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id s8N9GRTc014424 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 23 Sep 2014 09:16:27 GMT Date: Tue, 23 Sep 2014 12:19:45 +0300 From: Stefan Parvu To: freebsd-performance@freebsd.org Subject: Re: I like iostat, but... Message-Id: <20140923121945.8975311d308a1ff088dd90b0@systemdatarecorder.org> In-Reply-To: <659899B2-1816-41FA-9DED-57416928A1EE@sarenet.es> References: <20140922212209.GA9619@albert.catwhisker.org> <20140923113844.6f9e9584965dfd401f6943af@systemdatarecorder.org> <659899B2-1816-41FA-9DED-57416928A1EE@sarenet.es> Organization: systemdatarecorder.org X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 09:19:54 -0000 > Anyway, for disk stats GEOM offers a nice API. You can get delays per GEOM provider, bandwidths, etc. Are you talking about C consumers or I can do that using Perl, Sh ? Is there any way to consume the metrics via Perl, for example ? I could not find any decent documentation how to do that except some emails: http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194081.html Any ideas ? Thanks, -- Stefan Parvu