From owner-freebsd-stable@FreeBSD.ORG Wed Apr 20 22:27:22 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C1E916A4CE for ; Wed, 20 Apr 2005 22:27:22 +0000 (GMT) Received: from ronald.echteman.nl (h8441134153.dsl.speedlinq.nl [84.41.134.153]) by mx1.FreeBSD.org (Postfix) with SMTP id 5961743D49 for ; Wed, 20 Apr 2005 22:27:21 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: (qmail 13953 invoked from network); 20 Apr 2005 22:27:19 -0000 Received: from unknown (HELO laptop.klop.ws) (10.0.1.4) by ronald.echteman.nl with SMTP; 20 Apr 2005 22:27:19 -0000 Received: (qmail 39029 invoked from network); 20 Apr 2005 22:27:18 -0000 Received: from localhost.thuis.klop.ws (HELO smtp.local) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; 20 Apr 2005 22:27:18 -0000 To: freebsd-stable@freebsd.org Date: Thu, 21 Apr 2005 00:27:15 +0200 From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/7.54 (FreeBSD, build 955) Subject: gstat and scripting X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 22:27:22 -0000 Hello, The tool gstat can produce very nice stats. Can I get these stats from the system periodicly for use in my one scripts/graphs? Is there a sysctl like kern.ad0.reads? Or some other way of retreiving this info from the kernel. Looking at the gstat output, the numbers must be in there. Ronald. -- Ronald Klop, Amsterdam, The Netherlands