Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2007 10:04:38 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        Doug Clements <dclements@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Best way to measure disk bandwidth usage
Message-ID:  <52BC6A0C-B7BD-4888-9D29-99189F8183F5@mac.com>
In-Reply-To: <4731F8B7.9090003@netfence.it>
References:  <4731E6BC.6050703@netfence.it> <54da514e0711070847r2f4f1698w9ed28ca7c5d21f73@mail.gmail.com> <4731F8B7.9090003@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52BC6A0C-B7BD-4888-9D29-99189F8183F5>