Jetty, the lightweight open-source project hosted by the Eclipse foundation, is a full-fledged HTTP server and Servlet container that can be easily configured to serve static and dynamic content. Unlike most Web Servers, Jetty is often used for machine to machine communications, usually within larger software frameworks.
Applications Manager allows you to monitor your Java applications running on the Jetty HTTP server and Servlet container, track critical performance indicators of Jetty App server like CPU usage and be notified of thread pool exhaustion. Applications Manager also provides an in-depth view of the memory usage - heap and garbage collection information, real-time memory utilization and even object instance information within the JVM and Jetty server.
Supported versions of Jetty Server: Jetty 3.1 and above.
Prerequisites for monitoring Jetty Server: Click to know about the user previleges and other necessary prerequisites to monitor Jetty Server.
To create a Jetty monitor, follow the steps given below:
Go to the Monitors Category View by clicking the Monitors tab. Click on Jetty Server under the Applications Servers Table. Displayed is the Jetty Server bulk configuration view distributed under three tabs:
Click on the monitor name to see all the server details listed under the following tabs:
Parameter | Description |
---|---|
CPU Details | |
Available Processors | The number of processors available to the JVM. |
CPU Used | The percentage of CPU usage of the JVM on the server. |
Uptime | The uptime of the Java virtual machine. |
Class Loading Details | |
Loaded Class Count | The number of classes currently loaded in the JVM. |
Unloaded Class Count | The number of classes unloaded since the JVM started execution. |
Heap Memory Details | |
Name | The name of the Heap Memory. |
Total Memory | The total memory is the memory that is currently allocated to the JVM. It is the combination of used memory currently occupied by objects and free memory available for new objects. It varies over time. |
Free Memory (MB) | The total free memory available to the JVM for new objects. |
Used Memory (MB) | The space that is currently occupied by Java objects. |
Max Allocated Memory (MB) | The currently allocated memory in MB. |
Committed Memory (MB) | The currently used memory in MB. |
Non Heap Memory Details | |
Name | The name of the Non Heap Memory. |
Total Memory | The total memory is the memory that is currently allocated to the JVM. It is the combination of used memory currently occupied by objects and free memory available for new objects. It varies over time. |
Free Memory (MB) | The total free memory available to the JVM for new objects. |
Used Memory (MB) | The space that is currently occupied by Java objects. |
Max Allocated Memory (MB) | The currently allocated memory in MB. |
Committed Memory (MB) | The currently used memory in MB. |
Garbage Collector Details | |
Name | The Garbage Collector Name. |
Valid | The Garbage Collector Status. |
Collection Time (MS) | Live JVM statistics about garbage collector activity like the time spend collecting objects. |
Collection Count | The Live JVM statistics about garbage collector activity like the number of collected objects. |
Parameter | Description |
---|---|
JVM Threads | |
Live Threads | The current live thread count. |
Daemon Threads | Total number of Daemon Threads. A daemon thread is one that does not prevent the JVM from exiting when the program finishes but the thread is still running. |
Peak Thread Count | The peak live thread count since the Java virtual machine started or peak was reset. |
Threads started per sec | The number of threads started per sec. |
Thread Pool Details | |
Name | The name of the thread pool. |
Threads Used(%) | The percentage of threads used by the Java process. |
Current Threads | The total number of threads currently in the pool. |
Max Threads | The maximum number of threads in the thread pool simultaneously tasked with some work to process. |
Busy Threads | The number of currently busy threads in the thread pool. |
Idle Threads | The number of currently idle threads in the thread pool. |
Queue size | The size of the job queue |
Low on Threads | This value is true if the pools is at maxThreads and there are not idle threads than queued jobs. |
State | The lifecycle state for this instance. |
Parameter | Description |
---|---|
Webapps | |
Name | The name of the Session. |
Id | The session Id. |
Active Sessions | The number of currently active sessions. |
State | The current lifecycle state. |
Parameter | Description |
---|---|
Server Info | |
VM Name | The Java virtual machine implementation name. |
VM Vendor | The Java virtual machine implementation vendor. |
VM Version | The Java virtual machine Version. |
JRE Version | The version of the Java Runtime Environment that is currently in use. |
Jetty Server Version | The version of the Jetty web server and servlet container. |
Name | The name representing the running Java virtual machine. |
OS Version | The operating system version |
OS Name | The operating system name. |
Start Time | The timestamp at which the Java virtual machine was started. |
Jetty Version | The Version of Jetty server. |
Thank you for your feedback!