Database Reference
In-Depth Information
•
-XX:+PrintGCTimeStamps
:Provides the timestamps atthe
start of each collection, helps you correlate garbage collection
logs with other logged events.
•
-XX:+HeapDumpOnOutOfMemoryError
: Provides a heat
dump when an out of memory error occurs for an application.
•
Java Visual VM tool
: It federates several existing tools, including
jCon-
sole
,
jstat
,
jinfo
,
jstack
, and
jmap
. It is available from JDK 6. To
start the
JVisualVM
, go to the bin directory of the JDK install and invoke
ing - Systems Running BPEL Processes
, for details.
•
Other widely used tools
: Some of the other available tools are Jprobe,
Jconsole, HPROF Heap Profiler, Eclipse Memory Analyzer, IBM Heap,
and Thread Analyzer.
•
JVM Utilities
: Some of the other JVM utilities are
jps
,
jmap
,
jinfo
,
jhat
,
jstack
, and so on.
•
jps
: Lists all JVM processes
•
jmap
: Prints heap memory usages and instance counts by
classes and dumps the entire heap to a file
•
jinfo
: Checks the virtual options
•
jhat
: Browses a heap dump file with a web interface
•
jstack
: Dumps thread stack traces and find any deadlocks
Linux troubleshooting commands
It is important to gather troubleshooting information at the operating system level to
identify infrastructure issues. The operating system commands provide detailed in-
formation about SOA container behavior that can further assist us in identifying po-
tential issues. Some of the most useful Linux commands for troubleshooting SOA
Suite issues are as follows:
•
top
:
This command gives you CPU and memory utilization statistics. The
following command creates a text file with CPU and memory utilization:
$top -b -n 1 > cpuload.txt