[jboss-as7-dev] read statistics of active datasources via CLI

Heiko Braun hbraun at redhat.com
Wed Mar 14 03:17:17 EDT 2012


yes, these guys are right. i've confused persistence unit metrics with ds metrics.

/ike


On Mar 13, 2012, at 10:39 PM, Alexey Loubyansky wrote:

> Or
> 
> [standalone at localhost:9999 /] ls 
> subsystem=datasources/data-source=ExampleDS/statistics=pool -l
> 
> or
> 
> [standalone at localhost:9999 /] cd 
> subsystem=datasources/data-source=ExampleDS/statistics=pool
> [standalone at localhost:9999 statistics=pool] ls -l
> 
> 
> On 03/13/2012 06:51 PM, Carlo de Wolf wrote:
>> /subsystem=datasources/data-source=ExampleDS/statistics=pool:read-resource(include-runtime=true)
>> /subsystem=datasources/data-source=ExampleDS/statistics=jdbc:read-resource(include-runtime=true)
>> 
>> or
>> 
>> /subsystem=datasources/data-source=ExampleDS:read-resource(include-runtime=true,recursive=true)
>> 
>> but that last one gives more than you asked for. :-)
>> 
>> Carlo
>> 
>> On 03/13/2012 02:48 PM, Wolf-Dieter Fink wrote:
>>> With the mngmt-console the statistics of Pool- and
>>> PreparedStatementCache usage can be displayed.
>>> 
>>> But I did not found it via CLI cmd
>>>       data-source --profile=full --name=ExampleDS read-resource
>>> 
>>> Is there a possibility to read this via CLI?
>>> 
>>> - Wolf
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>> 
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev




More information about the jboss-as7-dev mailing list