Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: July 2017
 
 

libkstat(3LIB)

Name

libkstat - kernel statistics library

Synopsis

cc [ flag... ] file... –lkstat [ library... ]
#include <kstat.h>

Description

Functions in this library provide a general-purpose mechanism for providing kernel statistics to users.

INTERFACES

The shared object libkstat.so.1 provides the public interfaces 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 attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
Interface Stability
Committed
MT-Level
See below.

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.

See Also

pvs(1), Intro(3), kstat(3KSTAT), attributes(5)