Skip to content

tomitribe/cores

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Count cores allocated to a Tomcat, TomEE or ActiveMQ instance. Steps:

  • Download the cores.jar file.
  • Run from inside the vm or machine where the Tomcat, TomEE, or ActiveMQ process is running.
  • Repeat for all instances of Tomcat, TomEE, or ActiveMQ.

Run in Linux/Windows via:

java -jar cores.jar 

Be sure to run cores.jar using the same Java version as your Tomcat, TomEE or ActiveMQ instance.

Alternatively, you can deploy a JSP on each Tomcat, TomEE or ActiveMQ instance. Steps:

If you prefer, you can deploy the cores.war in Tomcat or TomEE's webapps folder, and the application should be accessible via the server's web connector, for example: http://localhost:8080/cores/