Jenkins‎ > ‎

Monitor Jenkins Java Threads Usage

If you want to monitor how much CPU each thread in Java uses you can proceed like this

The result will look like this, although lines are broken for readability:

<arguments>-Xrs -Xmx768m


    -jar "%BASE%\jenkins.war" --httpPort=8080


Now start jenkins and let it run

  • Then cd into the bin folder of your JDK installation i.e. C:\Program Files\Java\jdk1.7.0_45\bin
  • Run jconsole -pluginpath <path_to>topthreads-1.1.jar
  • Ignore the "insecure... " message.