|
From: Leif M. <le...@ta...> - 2004-10-20 04:47:18
|
Paul,
I looked over that site and it looks interesting, I didn't spend all
that much time on it,
but I was not able to get it working even with a standalone JVM. Other
than setting
the JVMSTAT_HOME and PATH environment variables, the instructions do not say
that anything else needs to be done when launching the target JVM.
Where did you
find the -XX... options that you mentioned?
If I run jvmps, it doesn't find anything so something is obviously
missing.
Cheers,
Leif
Hazelton, Paul wrote:
>Hi
>
>Has anyone had experience using jvmstat (from Sun's CoolStuff:
>http://developers.sun.com/dev/coolstuff/jvmstat/) with an application
>started using wrapper?
>
>Basically, an application which you want to monitor using jvmstat should
>be started with the JVM option -XX:+UsePerfData.
>
>I've tried adding
>
>wrapper.java.additional.4=-XX:+UsePerfData
>
>to my wrapper configuration file, but this seems to have no effect. I
>can see the java process I want to monitor in the Task Manager, and
>using
>
>wrapper.java.pidfile=
>
>confirms that I am looking at the correct java process. However, jvmstat
>cannot connect to it.
>
>Any ideas?
>
>Thanks
>Paul
>
>
|