JDG 7 CLI: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 52: Line 52:
/subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=example
/subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=example
</pre>
</pre>
<span id="statistics_individual_cache">The CLI '''does not expose'''</span> [[Infinispan_Enabling_Cache_Statistics#Status|whether statistics are enabled or not at individual cache level]].


{|
{|

Revision as of 17:36, 26 October 2016

/subsystem=datagrid-infinispan-endpoint/hotrod-connector=hotrod-connector

bytesRead HotRod Connector Metrics
bytesWritten HotRod Connector Metrics
worker-threads HotRod Connector Metrics


The CLI does not expose the number of active connections.

/subsystem=datagrid-infinispan/cache-container=<cache-container-name>

Example:

/subsystem=datagrid-infinispan/cache-container=clustered
average-read-time Cache Metrics
average-write-time Cache Metrics
average-remove-time Cache Metrics
number-of-entries Infinispan Cache Number of Entries
hits Cache Metrics
misses Cache Metrics
stores Cache Metrics
remove-hits Cache Metrics
remove-misses Cache Metrics
read-write-ratio Cache Metrics
hit-ratio Cache Metrics

/subsystem=datagrid-infinispan/cache-container=<container-name>/<mode>-cache=<cache-name>

Example:

/subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=example

The CLI does not expose whether statistics are enabled or not at individual cache level.


average-read-time Cache Metrics]]
average-write-time Cache Metrics
average-remove-time Cache Metrics
number-of-entries Infinispan Cache Number of Entries
hits Cache Metrics
misses Cache Metrics
stores Cache Metrics
remove-hits Cache Metrics
remove-misses Cache Metrics
read-write-ratio Cache Metrics
hit-ratio Cache Metrics