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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.