To Take Advantage of Dynamic Attach:
Check that JM_JAVA_HOME in $JMETER_HOME/config/hpjmeter.conf is set to a Java 6 directory (6.0.03 or later) to be able to later dynamically attach to a running JVM from the HPjmeter console without first setting HPjmeter options on the command line.
When HPjmeter is installed on a system that has Java 6 installed in the usual location, the installation procedure will automatically store the JDK location in hpjmeter.conf configuration file. If the Java 6.x JDK is installed in a
JM_JAVA_HOME=/opt/java6
1.The HPjmeter installation process will configure JDKs that are installed in the standard location. Some systems have JDKs installed in nonstandard locations, and some applications run with an embedded Java Runtime Environment. In these situations, it is necessary to explicitly indicate the location of HPjmeter libraries.
Assuming that JMETER_HOME represents your installation directory, modify the shared library path in your environment as follows:
•On
$JMETER_HOME/lib/$ARCH to SHLIB_PATH where $ARCH is PA_RISC2.0 or PA_RISC2.0W.
•On
$JMETER_HOME/lib/$ARCH to LD_LIBRARY_PATH where $ARCH is IA64N or IA64W.
•On
2.On
$ java
On Java 5.0 and later,
3.Specify the HPjmeter switch in your java command: On Java 5.0 and later:
$ java
On Java 1.4.x :
$ java
NOTE: If you use the
$ java
when SHLIB_PATH is $JMETER_HOME/lib/$ARCH and where $ARCH equals PA_RISC2.0W or IA64W.
See JVM Agent Options (page 17) for the list of available options and their descriptions.
Example Usage•Using
$ /opt/java1.5/bin/java
•Setting
16 Completing Installation of HPjmeter