Merge pull request #2584 from phyber/20230126-fix_freebsd_meminfo_user_wired_count
memory_bsd: Fix a problem fetching the user wire count on FreeBSD
This commit is contained in:
commit
7f05e312ac
|
@ -87,6 +87,7 @@ func NewMemoryCollector(logger log.Logger) (Collector, error) {
|
|||
description: "Locked in memory by user, mlock, etc",
|
||||
mib: "vm.stats.vm.v_user_wire_count",
|
||||
conversion: fromPage,
|
||||
dataType: bsdSysctlTypeCLong,
|
||||
},
|
||||
{
|
||||
name: "cache_bytes",
|
||||
|
|
Loading…
Reference in New Issue