[Bug 280909] Please add the vm.swap_free sysctl variable
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 280909] Please add the vm.swap_free sysctl variable"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Aug 2024 04:59:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280909 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 -- You are receiving this mail because: You are the assignee for the bug.