Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2024 04:59:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280909] Please add the vm.swap_free sysctl variable
Message-ID:  <bug-280909-227-Kbzxn1CQ9t@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280909-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280909-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280909

Tatsuki Makino <tatsuki_makino@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tatsuki_makino@hotmail.com

--- Comment #3 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
swapctl -l seems to be getting it by sysctl.
https: //cgit.freebsd.org /src/tree/sbin/swapon/swapon.c#n821

However, vm.swap_info does not appear to be a structure that can be directly
displayed by sysctl commands.

How about formatting output of swapon using libxo like df?
https: //cgit.freebsd.org /src/tree/bin/df/df.c#n458

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



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