From owner-freebsd-questions@FreeBSD.ORG Wed Nov 7 16:47:44 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 B6EE516A417 for ; Wed, 7 Nov 2007 16:47:44 +0000 (UTC) (envelope-from dclements@gmail.com) Received: from rn-out-0102.google.com (rn-out-0910.google.com [64.233.170.191]) by mx1.freebsd.org (Postfix) with ESMTP id 6190813C4BF for ; Wed, 7 Nov 2007 16:47:44 +0000 (UTC) (envelope-from dclements@gmail.com) Received: by rn-out-0102.google.com with SMTP id s42so998611rnb for ; Wed, 07 Nov 2007 08:47:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=fxWDEfu4+xEwhUs4rb9oA5cHpK6aVTT5Q8WYJOUnU38=; b=IuzdHCNLMR8uD51R94prFAqDvKZQTEYupfmQLV9djz2YrUTeEg/FVcTlQikTDItfaG23PWfdK03NxavETe9P1PWI9AUcSsBFb2ozH/Lp1uq8AjJI/573oXWEYcC/KGND8ttbft8SeMvkZFydEtPmYhRZ9q1RdK+vlIYcejnT2dg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=oCKAOKG6TmW/8eIHK1npQIBDYVUZQhjmofT7YuG4g2ir26zXHyGbAfg2SbZKi75ZLZHpHLUWSxHT7jq0BP49iC7bJ5W5YxHS/v7kC8/EQFQUSGLyJUzgtSmRcmK0k0EUWWBiiA+FIZfJHJWFlDzr5HrqNQIcBs3pUxKueg8EGqc= Received: by 10.143.8.10 with SMTP id l10mr2151373wfi.1194454050270; Wed, 07 Nov 2007 08:47:30 -0800 (PST) Received: by 10.142.81.19 with HTTP; Wed, 7 Nov 2007 08:47:30 -0800 (PST) Message-ID: <54da514e0711070847r2f4f1698w9ed28ca7c5d21f73@mail.gmail.com> Date: Wed, 7 Nov 2007 08:47:30 -0800 From: "Doug Clements" To: freebsd-questions@freebsd.org In-Reply-To: <4731E6BC.6050703@netfence.it> MIME-Version: 1.0 References: <4731E6BC.6050703@netfence.it> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 16:47:44 -0000 On 11/7/07, Andrea Venturoli wrote: > > Hello. > I've got a couple of servers which I'd like to keep an eye on in order > to check wether their storage subsection is providing enough throughput > or wether disk i/o is their bottleneck. > > I know how to check this wrt cpu usage, memory size, network throughput, > but I'm totally lost when it comes to disk i/o. > I can run top and press 'm': this will allow me to know which processes > are using disk the most, but not wether I'm exploiting the hardware to > the limit or just to a small fraction of what it can do. gstat, iostat, and systat -vm are the tools I use for this. --Doug