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. I have 12-current running in a bhyve on an 11-stable host. Is there a recent change to sysctl calls that would cause this? or is this bhyve related? On 11-stable I get long int values that I expect Python 2.7.15 (default, Jun 8 2018, 08:54:38) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.0 (tags/RELEASE_600/final 326565)] on freebsd11 Type "help", "copyright", "credits" or "license" for more information. >>> sysctl.filter('vm.stats.vm.v_wire_count')[0].value 1061486L >>> sysctl.filter('vm.stats.vm.v_free_count')[0].value 77217L On 12-current I get the same sysctls as a bytearray Python 2.7.15 (default, Jul 26 2018, 10:32:28) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)] on freebsd12 Type "help", "copyright", "credits" or "license" for more information. >>> sysctl.filter('vm.stats.vm.v_wire_count')[0].value bytearray(b"\'R\x12\x00") >>> sysctl.filter('vm.stats.vm.v_free_count')[0].value bytearray(b'\x06\\\x08\x00') -- FreeBSD - the place to B...Software Developing Shane AmblerReceived on Fri Jul 27 2018 - 01:57:37 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:17 UTC