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:
Ben Kochie 2023-02-13 16:33:40 +01:00 committed by GitHub
commit 7f05e312ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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",