macOS incomplete sysctl interface
Under macOS it seems we cannot easily extract CPU, memory, storage and network performance statistics. There is no ready kernel statistics accessible via sysctl interface nor anything ready for userland consumers like Perl, Python or Lua.
We need a simple way to gather various performance kernel statistics and have it available for different probes and recorders. ost likely we will need to build our on library which can fetch from kernel whatever we need and have it ready for usage under Perl or Lua.