Digital-Chaos commented on pull request #365: URL: https://github.com/apache/mesos/pull/365#issuecomment-632641435
> Is it because not all entries have mib constants that we can just fill in without lookup? Yes, I believe that is the case. The other way I have seen this done is to call sysctlnametomib() once in some sort of initialisation and hold the mib somewhere to use later in any calls to sysctl(). e.g. https://github.com/hishamhm/htop/blob/master/freebsd/FreeBSDProcessList.c ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
