NonStop Server for Java 7.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 NSJ7 and later SPRs, you must set the _RLD_LIB_PATH as follows:
For 32–bit NSJ7:
$JMETER_HOME/lib/oss32
For 64–bit NSJ7:
$JMETER_HOME/lib/oss64
For versions earlier than NSJ7:
$JMETER_HOME/lib/oss
where,
JMETER_HOME is set to /usr/tandem/hpjmeter.
Example 19 Using -agentlib to run the JVM agent
$ java -Xms256m -Xmx512m -agentlib:jmeter myapp
Example 20 Setting Xbootclasspath
$ java -agentlib:jmeter Xbootclasspath/a:$JMETER_HOME/lib/agent.jar
myapp
NOTE: -Xrunjmeter is not supported on NSJ7.
Attaching to the JVM Agent of a running application
The dynamic attach feature is supported on NSJ7 from HPjmeter 4.3 or later versions. This feature
lists the Java process using SPR from T2766H60^ACH and T2766 or T2866H70.
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.3 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 tuning and profiling” (page 86). This section lists the options that are not supported
on Nonstop and describes the difference in behavior of some options.
102 Addendum to HPjmeter 4.3 user's guide