JBoss EAP7 uses Undertow as the default web container, In Undertow by default all listener will use the default worker which is provided by IO subsystem. This worker instance manages the listeners (AJP/HTTP/HTTPS) IO threads. 1 2 [standalone@localhost:9990 /] ls / subsystem=io/worker=default [standalone@localhost:9990 /] / subsystem=io/worker=default :read -resource(include -runtime =true , recursive=true )
Undertow config [standalone@localhost:9990 /] ls /subsystem=undertow/server=default-server/https-listener=https
Check statistics DB 1 2 3 4 5 6 7 8 9 ## Enabled statistics [standalone@localhost:9990 /] / subsystem=datasources/xa-data-source =CCMDS:read -attribute(name=statistics-enabled) [standalone@localhost:9990 /] / subsystem=datasources/xa-data-source =CCMDS:write -attribute(name=statistics-enabled, value=true ) [standalone@localhost:9990 /] / subsystem=datasources/xa-data-source =CCMDS:read -resource(include -runtime =true ) ## Verify DB connection pool usage [standalone@localhost:9990 /] / subsystem=datasources/xa-data-source=CCMDS/ statistics=pool:read -resource(include -runtime =true ) [standalone@localhost:9990 /] / subsystem=datasources/xa-data-source=CCMDS/ statistics=pool:read -attribute(name=ActiveCount) [standalone@localhost:9990 /] / subsystem=datasources/xa-data-source=CCMDS/ statistics=pool:read -attribute(name=InUseCount)
Web 1 2 3 4 5 6 7 8 [standalone@localhost:9990 /] /subsystem=undertow:read -attribute (name =statistics -enabled) [standalone@localhost:9990 /] /subsystem=undertow:write -attribute (name =statistics -enabled, value =true ) [standalone@localhost:9990 /] /subsystem=undertow/server =default -server /https-listener=https:read -attribute (name =request-count) [standalone@localhost:9990 /] /subsystem=undertow/server =default -server /https-listener=https:read -attribute (name =error-count) [standalone@localhost:9990 /] /subsystem=undertow/server =default -server /https-listener=https:read -attribute (name =max-processing-time ) [standalone@localhost:9990 /] /subsystem=undertow/server =default -server /https-listener=https:read -attribute (name =processing-time ) [standalone@localhost:9990 /] /subsystem=undertow/server =default -server /https-listener=https:read -attribute (name =bytes-received) [standalone@localhost:9990 /] /subsystem=undertow/server =default -server /https-listener=https:read -attribute (name =bytes-sent)
Thread 1 2 [standalone@localhost:9990 /] / subsystem=ee/managed-executor-service=default :read -resource [standalone@localhost:9990 /] / core-service=platform-mbean/type=threading:read -attribute(name=thread-count )
Memory [standalone@localhost:9990 /] /core-service=platform-mbean/type=memory:read-resource(include-runtime=true)
Transaction 1 2 3 4 5 6 [standalone@localhost:9990 /] /subsystem=transactions:read -attribute (name =statistics -enabled) [standalone@localhost:9990 /] /subsystem=transactions:write -attribute (name =statistics -enabled, value =true ) [standalone@localhost:9990 /] /subsystem=transactions:read -attribute (name =number-of -timed-out -transactions) [standalone@localhost:9990 /] /subsystem=transactions:read -attribute (name =number-of -transactions) [standalone@localhost:9990 /] /subsystem=transactions:read -attribute (name =average-commit -time )