Date: Wed, 12 Oct 2011 15:42:14 +0200 From: Patrick Proniewski <patpro@patpro.net> To: Mikolaj Golub <trociny@freebsd.org> Cc: freebsd-fs@freebsd.org Subject: Re: measuring IO asynchronously Message-ID: <94455706-B90D-4DBD-A7DE-E9A38F118D35@patpro.net> In-Reply-To: <86ipnwg1s0.fsf@kopusha.home.net> References: <20110915120007.F41FF10656E1@hub.freebsd.org> <4B8C8026-1E12-4C32-88E3-9B34A3E58A91@patpro.net> <86ipnwg1s0.fsf@kopusha.home.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail-28-817318118 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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. >=20 > I use for this a simple program that I wrote some time ago. It uses = devstat(9) > kernel interface and outputs counters, like below >=20 > kopusha:~% devstat ada0 =20 > 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= --Apple-Mail-28-817318118--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?94455706-B90D-4DBD-A7DE-E9A38F118D35>