mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [mesos] Digital-Chaos commented on pull request #365: Fix FreeBSD memory detection (MESOS-10104)
Date Fri, 22 May 2020 11:22:56 GMT

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:
users@infra.apache.org



Mime
View raw message