NonStop Server for Java 5.1 Programmer's Reference

Example 3 (heap=sites)
SITES BEGIN (ordered by live bytes) Wed DEC 19 11:26:18 2001
percent live alloc'ed stack class
rank self accum bytes objs bytes objs trace name
1 34.27% 34.27% 195984 4188 588528 24522 595 MyClass
2 24.22% 58.49% 94044 8246 868728 63412 1 [C
.........
SITES END
Monitoring a live Java application
The Java application must be prepared for live mode of profiling by running HPjmeter agents. The HPjmeter
agents are shipped on the NSJ 5.1 product CD as a new product T0866H31.
To set up monitoring for a live Java application:
Install the T0866H31 PAX file in the default installation directory:
/usr/tandem/hpjmeter
1.
Run a node agent:
export JMETER_HOME=/usr/tandem/hpjmeter/a.
$ JMETER_HOME/bin/nodeagent –port port_number
b.
2.
Launch the Java application using the HPjmeter JVM agent: 3.
export _RLD_FIRST_LIB_PATH=$JMETER_HOME/lib/oss/a.
export JAVA_HOME=/usr/tandem/javab.
java -agentlib:jmeter[=options] <application>c.
Start the HPjmeter console from a local installation on your client workstation (HP-UX, Windows, or
Linux). To download HPjmeter consoles for these platforms, see http://www.hp.com/go/hpjmeter.
4.
Connect to the node agent from the console.5.
Note:
For information on monitoring capabilities and tips, see the HPjmeter 4.0 User’s Guide
available at www.hp.com/go/hpjmeter.
The instructions for using the HPjmeter tool on the NonStop platform are provided in
Appendix B: Addendum to HPjmeter 4.0 User’s Guide.