Ask the Community
Groups
How to view CPU utilization per JVM thread? - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>QUESTION:</strong></p> <p>How to view CPU utilization per JVM thread?</p> <p> </p> <p><strong>RESOLUTION:</strong></p> <p>The attached plugin for the 'jconsole' tool included with the Java Development Kit may be used to view the CPU utilization per JVM thread.</p> <ul><li>Install the JDK in your Windows environment (e.g. C:\Program Files\Java\jdk1.7.0_45)</li> <li>Save the attached 'jar' file to a local folder (e.g. c:\temp)</li> <li>Launch 'jconsole' with the plugin file from a command prompt; for example:</li> </ul><p>c:<br>cd \Program Files\Java\jdk1.7.0_45\bin<br>jconsole -pluginpath c:\temp\topthreads-1.1.jar</p> <p> </p> <p><img src="/attachments/token/hFpTt7hpsdiedGUAYljj68we8/?name=Capture1.PNG" alt="Capture1.PNG" class="embedImage-img importedEmbed-img"></img></p> <p> </p> <ul><li>Enter the IP address of the Traverse server and the JMX port number of the Traverse component then select 'Connect'. The JMX port numbers for the Traverse components are:</li> <ul><li>7691 Web Application</li> <li>7692 Data Gathering Engine</li> <li>7693 Message Handler</li> <li>7696 Correlation and Summary Engine</li> <li>7697 Internal Communication Bus (a.k.a. JMS or Java Messaging Service)</li> </ul></ul><p><img src="/attachments/token/XjoshtJhlfqlAnmpzRm6prLPz/?name=Capture2.PNG" alt="Capture2.PNG" class="embedImage-img importedEmbed-img"></img></p> <p> </p> <ul><li>Select the 'top threads' tab</li> </ul><p><strong>APPLIES TO:</strong></p> <p>All versions of Traverse</p> </article> </main>