Skip Navigation Links | |
Exit Print View | |
Oracle Solaris 11.1 Dynamic Tracing Guide Oracle Solaris 11.1 Information Library |
To extract DTrace data from a DTrace consumer, you must first determine the DTrace consumer of interest by running the ::dtrace_state MDB dcmd:
> ::dtrace_state ADDR MINOR PROC NAME FILE ccaba400 2 - <anonymous> - ccab9d80 3 d1d6d7e0 intrstat cda37078 cbfb56c0 4 d71377f0 dtrace ceb51bd0 ccabb100 5 d713b0c0 lockstat ceb51b60 d7ac97c0 6 d713b7e8 dtrace ceb51ab8
This command displays a table of DTrace state structures. Each row of the table consists of the following information:
The address of the state structure
The minor number associated with the dtrace(7D) device
The address of the process structure that corresponds to the DTrace consumer
The name of the DTrace consumer (or <anonymous> for anonymous consumers)
The name of the file structure that corresponds to the open dtrace(7D) device
To obtain further information about a specific DTrace consumer, specify the address of its process structure to the ::ps dcmd:
> d71377f0::ps S PID PPID PGID SID UID FLAGS ADDR NAME R 100647 100642 100647 100638 0 0x00004008 d71377f0 dtrace