Monitoring Heap usage, CPU utilization, threads of the BE engine without using jconsole/BE-MM.

Monitoring Heap usage, CPU utilization, threads of the BE engine without using jconsole/BE-MM.

book

Article ID: KB0094574

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Third party products like VisualVM can be used to monitor CPU, Heap threads etc. of BE Engine.

1). Visual VM (jvisualvm.exe) is available at $JDK_HOME\bin directory.

2). Visual VM can connect to a local application without specifying JMX ports using PID. Make sure if you use BE 64-bit, JDK (Visual VM) also need to be 64 -bit . (Ref - KB 39923).

3). Visual VM can also connect to remote applications using Host:Port (JMX Port).

4). Once connected to the BE application via Visual VM, the Overview Tab shows the BE engine start-up arguments, Java Home used, JVM arguments and System properties currently in use by the BE application.

5). The Monitor tab is used to Observe CPU usage, Heap usage, Total number of Classes loaded and the number of Live threads. The Monitor tab also has two buttons named 'Perform GC' and 'Heap Dump'. Click Perform GC to immediately perform garbage collection.  Click Heap Dump to take a heap dump. When you take a heap dump, a tab displaying the heap dump opens in the Application tab. A node for the heap dump appears under the node for the application in the Applications window.

6). The Threads tab is used to monitor all threads state for the node. The 'Timeline' tab under the Threads Tab shows real-time thread states. The 'Table' tab shows tabular form of all live threads. The 'Details' tab shows individual thread detail in a pie chart. Also, there is a 'Thread Dump' button on the right top in the same tab. Click the 'Thread Dump' button to generate a Thread Dump for the application.

Issue/Introduction

Monitoring Heap usage, CPU utilization, threads of the BE engine without using jconsole/BE-MM.

Additional Information


http://visualvm.java.net/