Ref: using dtrace library/java interface... See PSARC/2006/054 - DTrace JNI Binding
In particular, the mail log/spec: ===================================== A. Introduction The DTrace framework (PSARC 2001/466) allows Solaris users to instrument the system in literally hundreds of thousands of places, and trace virtually any data on the system. It has been used with tremendous success both internally and at customer sites, but an inhibitor to adoption for some potential users has been the lack of a GUI. This PSARC case proposes the introduction of JNI bindings for DTrace that will allow for GUIs for DTrace to be written in Java. This case depends on the following PSARC case: 2006/053 org.opensolaris.os: Public Java classes for Solaris The paths listed below adhere to the current state of that case and will be updated according to the final version of that case. B. libdtrace_jni interfaces This case proposes to introduce a set of Java APIs in the org.opensolaris.os.dtrace package and a JNI library to support those APIs. Those APIs constitute the extent of external interface. For ease of viewing, the javadoc has been included in the case directory in a directory named 'javadoc' in both html and pdf formats. C. Stability _____________________________________________________________________ | Interface | Classification | Binding | |_____________________________________|___________________|_________| | org.opensolaris.os.dtrace package | Evolving | Patch | | /usr/lib/java/dtrace.jar | Evolving | Patch | | /usr/lib/java/javadoc/dtrace | Evolving | Patch | | | | | | /usr/lib/libdtrace_jni.so | Project Private | Patch | | /usr/lib/libdtrace_jni.so.1 | Project Private | Patch | |_____________________________________|___________________|_________|