WildFly provides a simple default console to monitor the batches. In this console, you can monitor through the following metrics:
Active count | The complete number of threads that are currently executing tasks. |
Completed task count | The total number of tasks that have completed the execution. |
Current thread count | The current number of threads inside the pool. |
Largest thread count | The largest number of threads that have ever been in the pool at the same time. |
Queue size | The size of the queue size. |
Rejected count | The number of rejected tasks. |
Task count | The total number of the scheduled tasks ready for execution. |
To enter the console, simply connect to the WildFly web console on localhost:9990 and click on Runtime | Standalone Server | Subsystems | Batch:
Click on View. You will see the runtime parameters monitoring the executed or executing...