HP (Hewlett-Packard) 5992-1918 manual
Summary of contents
- Java™ Troubleshooting Guide for HP-UX Systems
- Table of Contents
- About This Document
- 1 Diagnostic and Monitoring Tools and Options
- 1.1 HP-UX Java Tools and Options Tables
- 1.1.1 Crash Analysis Tools
- 1.1.2 Hung and Deadlocked Processes
- 1.1.3 Fatal Error Handling
- 1.1.4 Monitoring Memory Use
- 1.1.5 Performance Tools
- 1.1.6 Miscellaneous Tools and Options
- 1.1.7 JDK Tools Not Available on HP-UX
- 1.2 Ctrl-Break Handler
- 1.3 Fatal Error Log (hs_err_pid<pid>.log)
- 1.4 gcore
- 1.5 gdb
- 1.5.1 Java Stack Unwind Features
- 1.5.2 gdb Subcommands for Java VM Debugging
- 1.6 HPjconfig
- 1.7 HPjmeter
- 1.7.1 Static Data Analysis
- 1.7.1.1 Using HPjmeter to Analyze Profiling Data
- 1.7.1.2 Using HPjmeter to Analyze Garbage Collection Data
- 1.7.2 Dynamic Data Analysis
- 1.7.2.1 Using HPjmeter to Monitor Applications
- 1.7.2.2 Connect to the Node Agent From the HPjmeter Console
- 1.7.2.3 Set Session Preferences
- 1.7.2.4 Viewing Monitoring Metrics During Your Open Session
- 1.7.2.5 Running the HPjmeter Sample Programs
- 1.7.2.5.1 Sample Memory Leak Application
- 1.7.2.5.2 Sample Thread Deadlock Application
- 1.8 HPjtune
- 1.9 hat
- 1.10 hprof
- 1.11 java.security.debug System Property
- 1.12 JAVA_TOOL_OPTIONS Environment Variable
- 1.13 jconsole (1.5+ only)
- 1.14 jdb
- 1.15 jhat
- 1.16 jps (1.5+ only)
- 1.17 jstat (1.5+ only)
- 1.18 jstatd (1.5+ only)
- 1.19 jvmstat Tools
- 1.20 -verbose:class
- 1.21 -verbose:gc
- 1.22 -verbose:jni
- 1.23 visualgc
- 1.24 -Xcheck:jni
- 1.25 -Xverbosegc
- 1.26 -XX:ErrorFile
- 1.27 -XX:+HeapDump and _JAVA_HEAPDUMP Environment Variable
- 1.27.1 Other HeapDump Options
- 1.27.2 -XX:+HeapDumpOnCtrlBreak
- 1.27.3 -XX:+HeapDumpOnOutOfMemoryError
- 1.27.4 -XX:+HeapDumpOnly
- 1.27.5 Using Heap Dumps to Monitor Memory Usage
- 1.28 -XX:OnError
- 1.29 -XX:+ShowMessageBoxOnError
- 2 Useful System Tools for Java Troubleshooting
- 2.1 GlancePlus
- 2.2 tusc
- 2.3 Prospect
- 2.4 HP Caliper
- 2.5 sar
- 2.6 vmstat
- 2.7 iostat
- 2.8 swapinfo
- 2.9 top
- 2.10 netstat
- 2.11 Other Tools
- 3 Getting Help from Hewlett-Packard
- 3.1 Problem Report Checklist
- 3.2 Collecting Problem Data
- 3.2.1 Collecting Core File Information
- 3.2.1.1 Core File Checklist
- 3.2.1.1.1 Estimate Core File Size
- 3.2.1.1.2 Ensure Process Can Write Large Core Files
- 3.2.1.1.3 Verify Amount of Disk Space
- 3.2.1.1.4 Check If Directory Supports Large File Systems
- 3.2.1.1.5 Ensure Permissions Allow Core Files
- 3.2.1.2 Generating a Core File
- 3.2.1.3 Verifying a Core File
- 3.2.2 Collecting Fatal Error Log Information
- 3.2.3 Collecting Stack Trace Information
- 3.3 Collecting System Information
- 3.4 Collecting Java Environment Information
- 3.4.1 Environment Variables
- 3.4.2 Libraries
- 3.5 Packaging Files
- 4 Core File Analysis
- 4.1 Sample Java Application
- 4.1.1 StackTraceJob
- 4.1.2 StackTrace.java
- 4.1.3 stacktrace.c
- 4.2 Building the Application
- 4.3 Verify Core File
- 4.4 Debugging On Same System
- 4.5 Packaging Files For Debugging On Different System
- 4.6 Unpacking Files On Debugging System
- 4.7 Example gdb Session
- 4.8 Summary
- Glossary
- Index