Java Tools for HP-UX 11i: Quick Start & Migration Guide

7
o none
jstatd
jstatd is an RMI server application that acts as an interface for remote monitoring tools.
Options that behave the same on both platforms
o -nr : do not create internal RMI registry
o -p <port> : port number for RMI registry
o -n <rmi-name> : name to which remote RMI object is bound in RMI registry
o -help : display help message
o -J<option> : pass option to the Java launcher
Options that behave differently
o none
jvisualvm
jvisualvm is a graphical tool for monitoring Java applications.
This tool is not available on HP-UX 11i
Use HPjmeter for real-time monitoring of Java processes
hprof
Hprof is a heap and CPU profiling tool that is activated by adding “-agentlib:hprof[=options]” to the
Java command line.
Options that behave the same on both platforms
o heap=dump|sites|all
o cpu=samples|times|old
o monitor=y|n
o format=a|b
o file=<file>
o net=<host>:<port>
o depth=<size>
o interval=<ms>
o cutoff=<value>
o lineno=y|n
o thread=y|n
o doe=y|n
o msa=y|n
o force=y|n
o verbose=y|n
Options that behave differently
o none
HP recommends using -Xeprof to generate execution profile information, as this has much less
overhead compared to hprof. Also, with –Xeprof you can use command line options or
signals to start and stop profiling. When using hprof, you must profile the entire lifetime of
the Java application.
HP recommends using JVM options, such as –XX:+HeapDump, to generate heap dump files
as the hprof agent can add additional overhead to program execution. The JVM options do
not add this overhead. See the Java Troubleshooting Guide for more information.