Browse Source

memory_bsd: Fix a problem fetching the user wire count on FreeBSD

Signed-off-by: David O'Rourke <david.orourke@gmail.com>
pull/2584/head
David O'Rourke 2 years ago
parent
commit
9232df7237
  1. 1
      collector/memory_bsd.go

1
collector/memory_bsd.go

@ -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…
Cancel
Save