36
Controlling Data Collection and Display.............................................................................................
Setting Data Collection Preferences......................................................................................................
Managing Node Agents........................................................................................................................
37
Managing Node Agents On HP-UX................................................................................................
Running Node Agent as a Daemon...........................................................................................
Verifying HP-UX Daemon is Running.......................................................................................
Starting Node Agents Manually................................................................................................
Stopping Node Agents...............................................................................................................
38
Node Agent Access Restrictions......................................................................................................
Running Multiple Node Agents......................................................................................................
Saving Monitoring Metrics Information...............................................................................................
Saving Data from the Console.........................................................................................................
39
Naming Monitoring Data Files.............................................................................................................
Diagnosing Errors When Monitoring Running Applications..............................................................
Identifying Unexpected CPU Usage by Method.............................................................................
Viewing the Application Load........................................................................................................
40
Checking for Long Garbage Collection Pauses...............................................................................
Checking for Application Paging Problems....................................................................................
Identifying Excessive Calls to System.gc()......................................................................................
41
Reviewing the Percentage of Time Spent in Garbage Collection....................................................
Checking for Proper Heap Sizing....................................................................................................
43
Confirming Java Memory Leaks......................................................................................................
Determining the Severity of a Memory Leak..................................................................................
Identifying Excessive Object Allocation..........................................................................................
44
Identifying the Site of Excessive Object Allocation.........................................................................
Identifying Abnormal Thread Termination....................................................................................
Identifying Multiple Short-lived Threads.......................................................................................
Identifying Excessive Lock Contention...........................................................................................
45
Identifying Deadlocked Threads.....................................................................................................
Identifying Excessive Thread Creation...........................................................................................
Identifying Excessive Method Compilation....................................................................................
46
Identifying Too Many Classes Loaded............................................................................................
47
Using the JMX Viewer...........................................................................................................................
Understanding the JMX Summary View.........................................................................................
48
JMX Summary Tab.....................................................................................................................
JMX Memory Tab.......................................................................................................................
49
JMX Threads Tab........................................................................................................................
51
JMX Runtime Tab.......................................................................................................................
52
JMX Notifications Tab................................................................................................................
Changing Mbean Values and Monitoring the Result......................................................................
Using the Functions in the JMX Server View..................................................................................
53
The MBean Filter........................................................................................................................
The MBean Attribute Tab...........................................................................................................
54
The MBean Operations Tab........................................................................................................
55
The MBean Notifications Tab.....................................................................................................
56
The MBean Information Tab......................................................................................................
58
Profiling Overview................................................................................................................................
Tracing.............................................................................................................................................
59
Sampling..........................................................................................................................................
Tuning Performance........................................................................................................................
Preparing a Benchmark........................................................................................................................
60
Collecting Profile Data..........................................................................................................................
61
4Table of Contents