Monitoring Java applications

While your application is running, you can monitor its performance and use of resources. For example, you can view the heap usage, the number of loaded classes, or garbage collection activity.

About this task

The information is displayed as graphs, in the following categories:
Class loading
  • Number of classes loaded
Copy garbage collector
  • Number of compactions and collections
  • Time that is spent in collection
  • Memory usage
Mark sweep compact garbage collector
  • Number of compactions and collections
  • Time that is spent in collection
  • Memory usage
Memory
  • Heap memory usage
  • Non-heap memory usage
  • Heap size
  • Shared class cache size
  • Physical memory usage
Operating system
  • Memory usage
  • Process processor time
Threading
  • Thread count
Some of these categories, such as thread count, apply to the application. Other categories, such as heap usage, apply to the JVM.

Procedure

  1. Click Instances > Virtual Applications to show the list of deployed applications, then click the application that you want to monitor.
  2. Click Manage, in the toolbar, to open the Instance Console.
  3. In the Instance Console, click Monitoring > Middleware, to show the graphs.

What to do next

If you want more detailed information, you can monitor your application by using a separate tool, IBM® Monitoring and Diagnostic Tools for Java - Health Center.