openzfsonosx / openzfs

OpenZFS on Linux and FreeBSD, and, macOS. This is where development for macOS happens.
https://github.com/openzfs/zfs/wiki
Other
144 stars 12 forks source link

arcstat not working #84

Open JMoVS opened 3 years ago

JMoVS commented 3 years ago

System information

Type Version/Name
Distribution Name macOS Big Sur
Distribution Version 11.4
Linux Kernel
Architecture ARM M1
ZFS Version 2.1.0 rc1
SPL Version -

Describe the problem you're observing

running arcstat is not successful

Describe how to reproduce the problem

execute arcstat

Include any warning/errors/backtraces from the system logs

Traceback (most recent call last):
  File "/usr/local/zfs/bin/arcstat", line 554, in <module>
    main()
  File "/usr/local/zfs/bin/arcstat", line 527, in main
    init()
  File "/usr/local/zfs/bin/arcstat", line 395, in init
    snap_stats()
  File "/usr/local/zfs/bin/arcstat", line 226, in snap_stats
    kstat_update()
NameError: name 'kstat_update' is not defined