Troubleshooting Tools on Solaris OS and Linux for Java SE 6

Monitoring Tools
Debugging Tools
Scripting Tools


Monitoring Tools

JConsole

Launch a GUI to monitor and manage Java applications and Java VMs on a local or remote machine.

jps

List instrumented Java virtual machines.

jstat

Display performance statistics for an instrumented Java VM:

jstatd


Debugging Tools

HPROF profiler

Writes class profiling information to a file or a socket, in ASCII or binary.

To invoke the HPROF tool: java -agentlib:hprof ToBeProfiledClass

To print the complete list of options: java -agentlib:hprof=help

jdb

Launch a simple interactive command-line debugger.

jhat

Parse a binary heap dump, launch a web browser, and present standard queries.

jinfo

jmap

jsadebugd

Serviceability Agent Debug Daemon, which acts as debug server.

jstack


Scripting Tools

jrunscript