Go to main content

Oracle® Solaris 11.3 DTrace (Dynamic Tracing) Guide

Exit Print View

Updated: July 2018
 
 

Process Model Translators

The DTrace library file /usr/lib/dtrace/procfs.d provides a set of translators for use in your D programs to translate from the operating system kernel implementation structures for processes and threads to the stable proc structures psinfo and lwpsinfo. These structures are also used in the Oracle Solaris /proc file system files /proc/pid/psinfo and /proc/pid/lwps/lwpid/lwpsinfo, and are defined in the system header file /usr/include/sys/procfs.h. These structures define useful Stable information about processes and threads such as the process ID, LWP ID, initial arguments, and other data displayed by the ps command. For description of the struct members and semantics, see proc(4).

Table 93  procfs.d Translators
Input Type
Input Type Attributes
Output Type
Output Type Attributes
proc_t *
Private/Private/Common
psinfo_t *
Stable/Stable/Common
kthread_t *
Private/Private/Common
lwpsinfo_t *
Stable/Stable/Common