cc [ flag... ] file... –lkstat [ library... ] #include <kstat.h>
Functions in this library provide a general-purpose mechanism for providing kernel statistics to users.
The shared object libkstat.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.
64-bit shared object
See attributes(5) for descriptions of the following attributes:
The kstat_open() function is Safe. The remaining kstat functions are MT-Safe with the exception that only one thread may actively use a kstat_ctl_t * value at any time. Synchronization is left to the application.