Zfs-stats

From wikinotes

Supplementary utility that exposes zfs resource usage, primarily targeted at FreeBSD.

Documentation

github https://github.com/mmatuska/zfs-stats/
homepage http://www.vx.sk/zfs-stats/

Example

zfs-stats -M 

------------------------------------------------------------------------
ZFS Subsystem Report                            Sun Sep 13 17:06:12 2020
------------------------------------------------------------------------
System Memory:
        21.04%  3.24    GiB Active,     5.57%   879.22  MiB Inact
        16.20%  2.50    GiB Wired,      0.00%   0       Bytes Cache
        57.17%  8.81    GiB Free,       0.02%   3.32    MiB Gap
        Real Installed:                         16.00   GiB
        Real Available:                 99.06%  15.85   GiB
        Real Managed:                   97.28%  15.42   GiB
        Logical Total:                          16.00   GiB
        Logical Used:                   39.54%  6.33    GiB
        Logical Free:                   60.46%  9.67    GiB
Kernel Memory:                                  462.54  MiB
        Data:                           91.30%  422.29  MiB
        Text:                           8.70%   40.25   MiB
Kernel Memory Map:                              15.42   GiB
        Size:                           14.17%  2.18    GiB
        Free:                           85.83%  13.23   GiB
------------------------------------------------------------------------

Usage

zfs-stats -h  # help

zfs-stats -I  # zfs/zpool version info
zfs-stats -M  # Memory usage report
zfs-stats -E  # ARC efficiency report