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 Usage Percentage | 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 | |
PS Survivor Space | The pool containing objects that have survived the garbage collection of the Eden space. |
PS Eden Space | The pool from which memory is initially allocated for most objects. |
PS Old Gen | This pool contains tenured and virtual (reserved) space and will be holding those objects which survived after garbage collection from young generation space. |
Non Heap Memory | |
PS Perm Gen | The Permanent Generation holds all the reflective data of the virtual machine itself, such as class and method objects. With JVMs that use class data sharing, this generation is divided into read-only and read-write areas. |
Code Cache | The Code cache is the memory used for compilation and storage of native code. |
Heap Memory Details | |
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 | |
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. |
Thread Count | The total number of threads currently in the pool. |
Busy Threads | The number of currently busy threads in the thread pool. |
Idle Threads | The number of currently idle threads in the thread pool. |
Max Threads | The maximum number of threads in the thread pool simultaneously tasked with some work to process. |
Thread Utilization | The percentage of threads used by the java process. |
Queue size | The size of the job queue |
State | The lifecycle state for this instance. |
Low on Threads | This value is true if the pools is at maxThreads and there are not idle threads than queued jobs. |
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 |
Name | The name representing the running Java virtual machine. |
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. |