measuring IO asynchronously
Patrick Proniewski
patpro at patpro.net
Wed Oct 12 13:42:18 UTC 2011
On 10 oct. 2011, at 20:05, Mikolaj Golub wrote:
> On Mon, 10 Oct 2011 16:33:11 +0200 Patrick Proniewski wrote:
> PP> I would like to monitor the storage on various FreeBSD servers,
> PP> especially I/O per seconds. Is there any way to gather statistics
> PP> about I/O via asynchronous request, lets say, for example, using a
> PP> munin plugin? `iostat -w 1` and `zpool iostat tank 1` are
> PP> interesting, but not useable asynchronously.
>
> I use for this a simple program that I wrote some time ago. It uses devstat(9)
> kernel interface and outputs counters, like below
>
> kopusha:~% devstat ada0
> ada0:
> 1339552256 bytes read
> ../..
> You can find it in ports (sysutils/devstat).
Thank you Mikolaj, I'm going to give it a try!
regards,
Patrick
More information about the freebsd-fs
mailing list