[Bug 280966] sysctl(8) doesn't show some array variables

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 21 Aug 2024 05:19:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280966

            Bug ID: 280966
           Summary: sysctl(8) doesn't show some array variables
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

For example, this command succeeds but prints nothing:
> sysctl vm.swap_info

> sysctl -F vm.swap_info

> sysctl -x vm.swap_info

In fact, this value is an array of integers, see
https://cgit.freebsd.org/src/tree/sbin/swapon/swapon.c#n821

-- 
You are receiving this mail because:
You are the assignee for the bug.