Java Tools for HP-UX 11i: Quick Start & Migration Guide
8
HP-UX 11i Java Tools
Overview
HP provides several tools that are designed to enhance Java performance on HP-UX 11i systems.
HPjmeter
The HPjmeter tool is used for performance analysis of Java applications. HPjmeter has two main
modes of operation – displaying real-time data from a running JVM or analyzing various types of
static data files generated by the JVM.
Some of the features of HPjmeter’s real-time mode are:
• Automatic problem detection and alerts
• Java heap and garbage collector activity
• Thread activity
• CPU usage
• Object allocation information
HPjmeter’s static data file analysis can process the following types of data files:
• Execution profile data generated by -Xeprof or -agentlib:hprof
• Heap dump files
• GC activity logs generated by -Xverbosegc or -Xloggc
• GlancePlus Advisor data files generated by the adviser script in the HPjmeter package
For more details, visit the HPjmeter web site at http://www.hp.com/go/hpjmeter.
HPjconfig
The HPjconfig tool is used to ensure that an HP-UX 11i server is properly configured for running large
Java applications. The tool determines if the server’s kernel parameters meet the minimum values that
are needed for good performance. HPjconfig also examines the patches that are installed on the
server, to make sure that all patches required for Java performance and functionality are installed on
the system.
Java Out-of-Box
The default HP-UX 11i configuration does not efficiently support certain types of Java applications.
Applications that fall into this category include large, server applications – long running applications
with a large numbers of threads and a large ratio of client to server connections. Java Out-of-Box is a
standalone bundle that installs startup (rc) scripts, modifies some kernel parameters, rebuilds the
kernel, and reboots the system (if necessary). This provides better out-of-the-box behavior for Java.
HP-UX 11i System Tools
Overview
The following tools provide information about HP-UX 11i performance and can be very useful in
understanding Java performance on HP-UX 11i. There is additional information about these tools in
the Java Troubleshooting Guide, available at http://www.hp.com/go/hpux-java-docs.