From owner-freebsd-questions@FreeBSD.ORG Fri Jun 23 09:09:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11B9616A4A5 for ; Fri, 23 Jun 2006 09:09:25 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FF9D43D49 for ; Fri, 23 Jun 2006 09:09:22 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.138] (helo=anti-virus01-09) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1FthfE-0005c0-TQ; Fri, 23 Jun 2006 10:09:20 +0100 Received: from [82.41.34.175] (helo=[192.168.0.2]) by asmtp-out4.blueyonder.co.uk with esmtp (Exim 4.52) id 1FthfB-0004f7-AT; Fri, 23 Jun 2006 10:09:17 +0100 Message-ID: <449BAFBD.1070305@dial.pipex.com> Date: Fri, 23 Jun 2006 10:09:17 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: Matt Ruzicka References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Tracking if disk is busy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 09:09:25 -0000 Matt Ruzicka wrote: > We've got a couple servers that appear to have particularly busy disks > and I was trying to determine if there is a way to more easily poll > this data for tracking. > > I'm not sure if this is one of those can't see the forest for the > trees issues or not, but the only means that I am familiar with to see > the percentage of time the disk is busy is to run 'systat -vmstat'. I > was hoping for something more concise that I could run periodically > and maybe even graph (realizing that watching this might well distort > the results). > > It appears that iostat on Solaris gives this information, but I can't > seem to mimic this functionality with FreeBSD. > > Are there other ways in FreeBSD to pull the percentage of time the > disk is busy? You can use plain old vmstat to see blocks being transferred. --Alex