NonStop Server for Java 6.0 Programmer's Reference
Configuring your Application to Use HPjmeter Command Line Options
Preparing to run Java
Complete the following steps to prepare the Java application to run with the JVM agent:
• On NSJ6 and later SPRs, you must set the _RLD_LIB_PATH as follows:
$JMETER_HOME/lib/oss
where,
JMETER_HOME is set to /usr/tandem/hpjmeter.
Example 4 Using -agentlib to run the JVM agent
$ java -Xms256m -Xmx512m -agentlib:jmeter myapp
Example 5 Setting –Xbootclasspath
$ java -agentlib:jmeter –Xbootclasspath/a:$JMETER_HOME/lib/agent.jar
NOTE: -Xrunjmeter is not supported on NSJ 6.0.
Attaching to the JVM Agent of a Running Application
The dynamic attach feature is not supported on NSJ6.
Monitoring Applications
Managing Node Agents
Managing Node Agents on a NonStop Operating System
In a NonStop Operating System, the HPjmeter installation process does not automatically start the
node agent as a daemon process. You must manually start the node agent as a daemon process.
The top level binary nodeagent available at /usr/tandem/hpjmeter/bin starts the spt or
put version of nodeagent based on the underlying SUT version.
Diagnosing Errors when Monitoring Running Applications
Checking for Application Paging Problems
HPGlancePlus tool is not available in NonStop. Therefore, references of HPGlancePlus available
in HPjmeter 4.2 User Guide are not applicable for NonStop.
Profiling Applications
For a complete list of profiling options and instructions on how to use profile options, see
“Application Profiling” (page 76). This section lists the options that are not supported on Nonstop
and describes the difference in behavior of some options.
Monitoring Applications 89










