ChorusOS 5.0 Features and Architecture Overview

Microkernel Execution Instrumentation

The C_OS implements the microkernel execution instrumentation via the sysctl kern.mkstats.actors and kern.mkstats.threads nodes. The OS_GAUGES feature must be set to true.

Instrumentation related to microkernel execution function comprises the following measurements:

Function 

Instrument Type 

Description 

maxActors()

Attribute 

Measures the maximum number of actors that can be created 

actors()

Gauge (high threshold) 

Measures the current number of actors in use 

maxThreads()

Attribute 

Measures the maximum number of threads that can be created 

threads()

Gauge (high threshold) 

Measures the current number of threads in use