NonStop Server for Java 5.1 Programmer's Reference

profiler agent writing output to a file.
Profiling Environment
Using HPjmeter
You can use the HPjmeter for profiling your application.
On the NonStop server platform, HPjmeter allows you to view profiler data graphically. You can obtain
HPjmeter without charge from HP.
To use HPjmeter, the dump file must be an ASCII text file and must be produced by NonStop Server for
Java 5.1 after a normal termination or exception termination. If your application terminates with a signal,
NonStop Server for Java 5.1 will not generate the dump file.
For more information about HPjmeter including links for an HPjmeter tour and downloading, see HPjmeter
Overview and Features (http://www.hpjmeter.com).
Using -Xeprof Java Profiler
The -Xeprof option generates profile data for HPjmeter. The -Xeprof option controls profiling of Java
applications running on JRE for HP NonStop operating systems for the Java™ 2 Platform and collects method
clock and CPU times, method call count, and call graph.
To profile your application, use:
java -Xeprof: options ApplicationClassName
To profile your applet, use:
appletviewer -J-Xeprof:options URL