Java Server Details Test

This test reports the performance statistics pertaining to the Java Virtual Machine (JVM) running on a Tomcat server.

Target of the test : A Tomcat server

Agent deploying the test : An internal agent

Outputs of the test : One set of results for the server being monitored.

Configurable parameters for the test
Parameter Description

Test Period

How often should the test be executed.

Host

The host on which the Tomcat server is running.

Port

The port on which the specified Tomcat server is listening for HTTP requests.

EGURI

The Java Server Details test makes use of a file named EgPerfTest.jsp to generate measures. By default, this file is located in the <EG_INSTALL_DIR>/lib directory. To execute this test, move this file to one of the application directories of the Tomcat server. On Unix, you can execute the script /opt/egurkha/bin/setup_jserver to do this. While configuring this test, specify the location of the application directory where the EgPerfTest.jsp file resides, in the EGURI text box, in the following format: http://<Ipaddress:portNo/directory name>. For example, assume that the EgPerfTest.jsp is available in the JavaTest directory of the host 192.168.10.57:7077. Therefore, EGURI would be: http://192.168.10.57:7077/JavaTest.

Measurements made by the test
Measurement Description Measurement Unit Interpretation

Active threads

Indicates the number of active threads in the JVM.

Number

A high value for this measure is indicative of a high load on the JVM.

 

Total memory usage

Indicates the total memory available in the JVM.

MB

A high value indicates a high processing capability of the JVM. Watch for increasing memory usage over time, which could indicate a memory leak in one or more applications hosted on the application server.  

Free memory

Indicates the unused memory in the JVM.  

MB

A very low value of free memory is an indication of high memory utilization on the JVM.