Code Monkey home page Code Monkey logo

zfs-stats's Introduction

zfs-stats

ZFS statistics tool for FreeBSD.

The zfs-stats script displays general ZFS information and human-readable statistics for the following subsystems:

  • ARC
  • L2ARC
  • DMU (zfetch)
  • vdev cache.

Help: zfs-stats -h

In the ports tree: sysutils/zfs-stats

Homepage: https://www.vx.sk/zfs-stats/

This script is a fork of arc_summary.pl by Jason Hellenthal.

zfs-stats's People

Contributors

b2gills avatar claudius23 avatar grahamperrin avatar guggemand avatar mmatuska avatar stesser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zfs-stats's Issues

Outdated value in ZFS

Hi,

I new FreeBSD and ZFS is missing value "kstat.zfs.misc.arcstats.recycle_miss".

sysctl -a kstat.zfs.misc.arcstats.recycle_miss
sysctl: unknown oid 'kstat.zfs.misc.arcstats.recycle_miss'

I check it on:

12.1
12.0
11.1

Your script through it have error:

ARC Misc:
	Deleted:				2381299
Use of uninitialized value in printf at ./zfs-stats line 337.
	Recycle Misses:				
	Mutex Misses:				1009
	Evict Skips:				0

Workaround is remove or comment line: 333 and 337.

Could you update your script?

Line 717: error with OpenZFS on FreeBSD 13

Appears related to how the ZFS version is now reported. This is on FreeBSD 13.0-BETA3.

david@t480 0 [0] ~
07:42:47 $ zfs-stats -a > zfs-stats-freebsd
Argument "[fastest] scalar superscalar superscalar4 sse2 ssse3 avx..." isn't numeric in printf at /usr/local/bin/zfs-stats line 717.
Argument "2.0.0-FreeBSD_gf11b09dec" isn't numeric in printf at /usr/local/bin/zfs-stats line 717.
Argument "wait" isn't numeric in printf at /usr/local/bin/zfs-stats line 717.

Is the value used for "Logical Total" correct?

Currently the variable used to display "Logical Total" is mem_total = mem_hw which is the estimated physical memory. However, from the definition of logical, I had the impression that it would mean the memory available to the OS. If so, shouldn't mem_all or mem_phys be more suitable?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.