AIX: Add paging memory metrics

Signed-off-by: Johannes Ziemke <github@5pi.de>
This commit is contained in:
Johannes Ziemke 2025-04-22 14:08:23 +02:00 committed by Johannes 'fish' Ziemke
parent 2c33bc58ea
commit 65d2538f14

View file

@ -43,5 +43,9 @@ func (c *meminfoCollector) getMemInfo() (map[string]float64, error) {
"total_bytes": float64(stats.RealTotal * 4096), "total_bytes": float64(stats.RealTotal * 4096),
"free_bytes": float64(stats.RealFree * 4096), "free_bytes": float64(stats.RealFree * 4096),
"available_bytes": float64(stats.RealAvailable * 4096), "available_bytes": float64(stats.RealAvailable * 4096),
"process_bytes": float64(stats.RealProcess * 4096),
"paging_space_total_bytes": float64(stats.PgSpTotal * 4096),
"paging_space_free_bytes": float64(stats.PgSpFree * 4096),
"page_scans_total": float64(stats.Scans),
}, nil }, nil
} }