I just "solved" my problem. Apparently, the jdk that IPS installs does
not come with the probes (at least the latest jdk6u10). Running the
jdk7 (AKA openjdk) builds makes the probes available
with that, the java stacks are also visible (using the jstack from
within a dtrace script)
on monday, ill try and install manually the latest jdk to see if that
comes with the probes
On Tue, Nov 25, 2008 at 2:30 PM, Keith McGuigan <Keith.McGuigan at
sun.com> wrote:> Marcelo Fukushima wrote:
>>
>> Hi everyone. Ive been using opensolaris for about a month and so far
>> its been great. But i cant seem to use dtrace for the jvm, as
>> explained in this page
>> (http://www.solarisinternals.com/wiki/index.php/DTrace_Topics_Java).
>> Do i need to install the probes? Do i have to link dtrace to a running
>> jvm process in order to see the probes? is there a better place to
>> find documentation on those matters?
>>
>> Thanks in advance
>
> Nope, it should just work... depending on which version of the JDK you
have.
> Which JDK version and what probes are you trying to use?
>
> --
> - Keith
>
>
--
[]''s
Marcelo Takeshi Fukushima