Webserver
1. Install visual vm: https://visualvm.github.io/.
2. Open the tanuki configuration file of the webserver.
3. Add the following parameters:
wrapper.java.additional.nr=-Dcom.sun.management.jmxremote=true
wrapper.java.additional.nr=-Dcom.sun.management.jmxremote.port=12346
wrapper.java.additional.nr=-Dcom.sun.management.jmxremote.ssl=false
wrapper.java.additional.nr=-Dcom.sun.management.jmxremote.authenticate=false
4. Restart the webserver.
5. Open a command prompt.
6. Start ..\visualvm_*\bin\visualvm --jdkhome ..\Server\jdk-*
7. Create a local JMX connection in jvisualvm to localhost:12346
8. Check the statistics.