libkstat - kernel statistics library
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(7) 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.
The functions in this library are deprecated. The libkstat function may be removed in a future release of Oracle Solaris. Use the libkstat2() function instead. For more information, see the libkstat2(3LIB) man page.