Interface Libraries libkstat(3LIB)
NAME
libkstat - kernel statistics library
SYNOPSIS
cc [ flag... ] file... -lkstat [ library... ]
#include
DESCRIPTION
Functions in this library provide a general-purpose mechan-
ism for providing kernel statistics to users. INTERFACESThe shared object libkstat.so.1 provides the public inter-
faces defined below. See Intro(3) for additional information on shared object interfaces.kstat_chain_update kstat_close
kstat_data_lookup kstat_lookup
kstat_open kstat_read
kstat_write
FILES/lib/libkstat.so.1 shared object
/lib/64/libkstat.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 13 Apr 2010 1
Interface Libraries libkstat(3LIB)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | system/library (32-bit) |
|_____________________________|_____________________________|
| | SUNWcslx (64-bit) |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See below. |
|_____________________________|_____________________________|
The kstat_open() function is Safe. The remaining kstat func-
tions are MT-Safe with the exception that only one thread
may actively use a kstat_ctl_t * value at any time. Syn-
chronization is left to the application.SEE ALSO
pvs(1), Intro(3), kstat(3KSTAT), attributes(5)SunOS 5.11 Last change: 13 Apr 2010 2