Date: Wed, 14 Feb 2018 21:16:15 +0100 From: "Ronald Klop" <ronald-lists@klop.ws> To: "Eric A. Borisch" <eborisch@gmail.com>, "E.S. Rosenberg" <esr+freebsd-fs@mail.hebrew.edu> Cc: freebsd-fs@freebsd.org Subject: Re: raw filesystem counters Message-ID: <op.zefzxd1qkndu52@klop.ws> In-Reply-To: <CA%2BK1OzSyF=E8CZgn=JSYOW4XPwnLWxYGHt7Xp9ZrvrXnECy2Rg@mail.gmail.com> References: <CA%2BK1OzSda42zBCfT4n0_DScf74TsJyHsxBHaxZwcjkOe3ccmwA@mail.gmail.com> <CAASnNnrYjYYijrBtz-bkxvMTa9ugYYLuiDtLNJM1gFJENdjYRg@mail.gmail.com> <CA%2BK1OzSyF=E8CZgn=JSYOW4XPwnLWxYGHt7Xp9ZrvrXnECy2Rg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Maybe start following this developer also: https://twitter.com/freebsdfrau/status/963589688278724608 Regards, Ronald. On Tue, 13 Feb 2018 20:56:06 +0100, E.S. Rosenberg <esr+freebsd-fs@mail.hebrew.edu> wrote: > Wow Eric that is exactly what I was looking for! > Thanks! > Nothing similar exists for ZFS correct? > Thanks again, > Eli > > On Mon, Feb 12, 2018 at 10:09 PM, Eric A. Borisch <eborisch@gmail.com> > wrote: > >> On Sun, Feb 11, 2018 at 1:06 PM, E.S. Rosenberg <esr@cs.huji.ac.il> >> wrote: >> > Hi, >> > Hopefully I'm not asking something that has been answered thousands of >> > times, I did search but did not find. >> > >> > Is there any way to access raw disk counters similar to those found on >> > Linux in: >> > /sys/class/block/<device>/stat >> > >> > Preferably also by accessing such a virtual file and not by using >> iostat >> / >> > zpool iostat which are already pre-processing counters and need to be >> run >> > constantly to get accurate real-time estimates. >> > >> > So far I have not stumbled upon the right sysctl key to get these >> counters >> > (and TBH as said before I'd much rather read a "file" then run a >> command >> > though that matters less as long as the counters are raw). >> > >> > Background: I'm trying to get a better idea of what is going on with >> our >> > IO, I would like to push the counters into Zabbix and maybe other data >> > analysis software later so I prefer raw counters that can then be >> processed >> > by whatever software we are using. >> > >> > Thanks! >> > Eli >> >> >> iostat -Ixd dev0 [dev1 ..] >> >> Gives from-boot cumulative values; these can be shoved (with minimal >> awk processing) into Zabbix and pre-processed to "change per second" >> on the Zabbix server. Read/write ops/bytes as well as some other >> interesting stats. >> >> - Eric >> > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.zefzxd1qkndu52>