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

Carlo de Wolf cdewolf at redhat.com
Tue Mar 13 13:51:51 EDT 2012


/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



More information about the jboss-as7-dev mailing list