add ZFS ARC memory accounting

This commit is contained in:
Henry Dollman
2024-10-05 18:07:42 -04:00
parent af4877ca30
commit 73aae62c2e
5 changed files with 70 additions and 15 deletions

View File

@@ -11,6 +11,7 @@ type Stats struct {
MemUsed float64 `json:"mu"`
MemPct float64 `json:"mp"`
MemBuffCache float64 `json:"mb"`
MemZfsArc float64 `json:"mz,omitempty"` // ZFS ARC memory
Swap float64 `json:"s,omitempty"`
SwapUsed float64 `json:"su,omitempty"`
DiskTotal float64 `json:"d"`