The Solaris 2 “kstat” Interface

The kstat library is a collection of functions for accessing data stored within user-level data structures that are copies of similar structures in the kernel. The nature of this data concerns the functioning of the operating system, specifically in the areas of performance metrics, device configuration, and capacity measurement. The name kstat means “kernel statistics” to denote this role.

The collection of structures, both in user space and in the kernel, is referred to as the kstat chain. This chain is a linked list of structures. The user chain is accessible through the kstat library, and the kernel chain is accessible through the /dev/kstat character special file. The sum of the components is referred to ...

Get Sun Performance and Tuning: Java™ and the Internet, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.