Solaris 2 Native Metric Interfaces

Solaris 2 provides many interfaces to supply performance and status metrics. The SE Toolkit provides a convenient way to get at the data and use it, but if you want to implement your own measurement code, you need to know how to program to the interfaces directly from C code. Richard Pettit, the author of the SE language, contributed the following sections that explain how to program to the “kvm,” “kstat,” “mib”, and “ndd” interfaces used by SE. I added information on processes, trace probes, the rstat protocol, and configuration information.

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.