On Sat, 23 Sep 2017, Random832 wrote:
On OSX (which does not implement procfs or kmem), ps
uses sysctl. It
looks like FreeBSD uses something called libkvm, which certainly
*sounds* like it digs around /dev/kmem, but looking at the code it looks
like it *actually* uses sysctl for process-related purposes.
I've just been introduced to sysctl(3) -- thanks :-)
--
Dave Horsfall DTM (VK2KFU) "Those who don't understand security will
suffer."