From owner-freebsd-questions@FreeBSD.ORG Wed Nov 7 18:04:48 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC82916A468 for ; Wed, 7 Nov 2007 18:04:48 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id C5E5E13C48E for ; Wed, 7 Nov 2007 18:04:48 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay14.apple.com (relay14.apple.com [17.128.113.52]) by mail-out4.apple.com (Postfix) with ESMTP id 1AFD01854546; Wed, 7 Nov 2007 10:04:39 -0800 (PST) Received: from relay14.apple.com (unknown [127.0.0.1]) by relay14.apple.com (Symantec Mail Security) with ESMTP id F2A9028056; Wed, 7 Nov 2007 10:04:38 -0800 (PST) X-AuditID: 11807134-a4c02bb000003395-c9-4731fe368805 Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay14.apple.com (Apple SCV relay) with ESMTP id CBDE428050; Wed, 7 Nov 2007 10:04:38 -0800 (PST) Message-Id: <52BC6A0C-B7BD-4888-9D29-99189F8183F5@mac.com> From: Chuck Swiger To: Andrea Venturoli In-Reply-To: <4731F8B7.9090003@netfence.it> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Date: Wed, 7 Nov 2007 10:04:38 -0800 References: <4731E6BC.6050703@netfence.it> <54da514e0711070847r2f4f1698w9ed28ca7c5d21f73@mail.gmail.com> <4731F8B7.9090003@netfence.it> X-Mailer: Apple Mail (2.912) X-Brightmail-Tracker: AAAAAA== Cc: Doug Clements , freebsd-questions@freebsd.org Subject: Re: Best way to measure disk bandwidth usage 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: Wed, 07 Nov 2007 18:04:48 -0000 Hi-- On Nov 7, 2007, at 9:41 AM, Andrea Venturoli wrote: > iostat is also expecially interesting, since it can run non- > interactively and I could poll it through cacti... > However this monitors only raw da devices. Is there a way to get > gmirrors monitored? If they are visible as "drive devices", then yes, iostat can be passed a list of devices to monitor instead of the top-level physical devices it was showing by default. > Finally this gives overall MB/s, which is very interesting, but I'd > also need to refer this to an end-of-scale value, in order to > understand if the disks are working to their fullest (and thus are > the bottleneck). > Is this correct? Where could I desume such a value? (I remember > there was an utility... though I don't remember its name). diskinfo -vt _device_ ...will give you some transfer rate numbers, but note the BUGS section of the manpage. :-) -- -Chuck