JDG 7 CLI: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 56: Line 56:


<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]].
<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]].


{|
{|
| <span id="average-read-time_individual_cache">average-read-time</span>|| [Infinispan Cache Metrics#Average_Read.2C_Write_and_Remove_Time|Cache Metrics]]
| <span id="cache_status">cache-status</span>|| [[Infinispan Cache Metrics#Cache_Status|Cache Status]]
|-
| <span id="average-read-time_individual_cache">average-read-time</span>|| [[Infinispan Cache Metrics#Average_Read.2C_Write_and_Remove_Time|Cache Metrics]]
|-
|-
| <span id="average-write-time_individual_cache">average-write-time</span>|| [[Infinispan Cache Metrics#Average_Read.2C_Write_and_Remove_Time|Cache Metrics]]
| <span id="average-write-time_individual_cache">average-write-time</span>|| [[Infinispan Cache Metrics#Average_Read.2C_Write_and_Remove_Time|Cache Metrics]]

Revision as of 16:12, 27 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
statistics Enabling Cache Statistics
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.

cache-status Cache Status
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