Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2024 05:19:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280966] sysctl(8) doesn't show some array variables
Message-ID:  <bug-280966-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280966-227>