From owner-freebsd-fs@freebsd.org Sun Feb 11 19:06:14 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 A59C9F0EA8C for ; Sun, 11 Feb 2018 19:06:14 +0000 (UTC) (envelope-from esr@mail.hebrew.edu) Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CAC38599B for ; Sun, 11 Feb 2018 19:06:13 +0000 (UTC) (envelope-from esr@mail.hebrew.edu) Received: by mail-qk0-x231.google.com with SMTP id n188so16072015qkn.11 for ; Sun, 11 Feb 2018 11:06:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail-hebrew-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:from:date:message-id:subject:to; bh=rBfH84E4pm1bzGdDH+hkKRDLvflqI6TwB5YJm+V5h58=; b=f/2tB4uWqtxRECQ5kEvh+JmEshyyz8Efmhqhltxd0p3MUH4bE0jmSR2uJXVjjmy2I9 qtNjF4c1a483nYaW5ozOO0+gUqBPKKDFdCTkQF30QmcauOfZsXCx3dMs8r6CzEj1dAEA KKITlDAGN6csosr+SJLhl5tH3qumEV8O9Y9185Eb37VVzM21jGaBV5OU/0tfVIQXuiTV n2e+Tiih1jzPqY3nyhELlNhLnaDZ6R7CTkPl4+mGbJpKsxQgDEGmkjKVDx9mvDxQB+Eb tPqipsL9I33p5wHfp9j6e9CGwuB5X8FAUtV32qc+ZeebA9pnFfVeettv1pgeqEzk9A53 qdHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=rBfH84E4pm1bzGdDH+hkKRDLvflqI6TwB5YJm+V5h58=; b=IB7r9IND5fZHjuIGB/P/kiIVGqmhGpYc5NVEMBajaLP/JveI2nVMq0z13sZ6iVU7U8 ueTgoePqvwYMWIY9IfqacFSFmRMbslQ69w9E6e87BpNV9CVL/HDEnBrGO7Gd90tbcpLZ fMSNHQkp+U91ofLGLnI6BtvEd87ECKhOvDopEhK/D0MNwnEgD/LxBSYBETep5PzrEFAm Zi61PeOmjISPxIkZVoT9HFR2RfqmICNwZLAGenGCYy05zUduD7N8WhRAWaHyfnzv6g19 o1isu9GuZ+AzscuRXwPi1ouyPc2EM2FHbZvAJdu1Jf+PcuMtjF9K9rIqaX8ZfL6cCYP9 Bx9w== X-Gm-Message-State: APf1xPALF7CQLN+0NXHVsjj7shSOxJHraVBFO9X8YLpumulAUUJ7hgsa sdfC+tpSNoW+KxvO649sKQBgUMZlbGNvoAM1N2yOnuXZ X-Google-Smtp-Source: AH8x227W02hGE2+w69bKeq7DsZAK4BXtoYOrdg+e+4/NSLlwJrxZfyavBmCfCNEHfE9WiD1FHnGXd1jlnLoIsWZNzjY= X-Received: by 10.55.92.133 with SMTP id q127mr14011953qkb.225.1518375973236; Sun, 11 Feb 2018 11:06:13 -0800 (PST) MIME-Version: 1.0 Sender: esr@mail.hebrew.edu Received: by 10.12.196.5 with HTTP; Sun, 11 Feb 2018 11:06:12 -0800 (PST) From: "E.S. Rosenberg" Date: Sun, 11 Feb 2018 21:06:12 +0200 X-Google-Sender-Auth: z-n4yTrij4AP3y4jSHBi-OFD3PI Message-ID: Subject: raw filesystem counters To: freebsd-fs@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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: Sun, 11 Feb 2018 19:06:15 -0000 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