On Thu, Jul 26, 2018 at 8:52 PM, Shane Ambler <FreeBSD_at_shaneware.biz> wrote: > I use devel/py-sysctl in some scripts to get values, using a recent > 12-current (r336728) I see at least two values that get a different > value type than on 11-stable. Same version of python and port. > ... Hi Shane, At some point, new sysctl types were added to the kernel, including CTLTYPE_U32. As part of the conversion to the counter(9) API, it seems the v_wire_count (and other vm.stats sysctls) changed to U32 type. py-sysctl lacks support for CTLTYPE_U32 and defaults to giving you a bytearray for unrecognized types. Best, ConradReceived on Fri Jul 27 2018 - 03:37:53 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:17 UTC