From owner-freebsd-fs@freebsd.org Wed Feb 14 20:27:23 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B7F4F1D9DA for ; Wed, 14 Feb 2018 20:27:23 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 288EF6B9F6 for ; Wed, 14 Feb 2018 20:27:22 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1em3e6-00039E-Re; Wed, 14 Feb 2018 21:27:15 +0100 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Eric A. Borisch" , "E.S. Rosenberg" Cc: freebsd-fs@freebsd.org Subject: Re: raw filesystem counters References: Date: Wed, 14 Feb 2018 21:16:15 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: 3ced5df4177ef3a93a84b902ce7c160e X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2018 20:27:23 -0000 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 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 > wrote: > >> On Sun, Feb 11, 2018 at 1:06 PM, E.S. Rosenberg >> 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//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"