Daniel Swarbrick
Daniel Swarbrick
I suspect that the kstat interface is fine if you already know what objset ID you are looking for, but for enumerating these in the first place, a journey into...
Are these mountpoints btrfs, by any chance?
You are possibly hitting #2772. Can you try disabling the btrfs collector temporarily?
It's worth noting that while [github.com/dkorunic/iSMC](https://github.com/dkorunic/iSMC) is the user-facing command-line tool for displaying the metrics, the actual interfacing with the SMC system is done by [github.com/panotza/gosmc](https://github.com/panotza/gosmc) - which is a...
The uint64 types seem to run fairly deep in zfs_linux.go. The `parseProcfsFile` function, which is used to parse other files under `/proc/spl/zfs`, expects to be passed a `handler func(zfsSysctl, uint64)`....
> Why float64 not int64? Because the kernel uses `uint64_t` for some values, which would potentially overflow an `int64`.
> `float64` is only accurate for integers constrained within it's mantissa range (52-bit). Expressing an integer that goes beyond (`2^52`, or `2^53` if we consider the implicit additional bit) will...
This sounds like https://lore.kernel.org/lkml/[email protected]/ Looking at the supplied plot, it appears to have decreased by 2^32.
> Is this a problem? You'd rate() over this which should handle the reset, right? It's not quite the same as a typical counter reset, since this counter is comprised...
> Otherwise additional dependency for libmnl (and its wrapper) will be added, as well as new permissions. I'm not sure why libmnl would be needed. There is a native Go...