JDG 7 CLI

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

/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
created-cache-count Cache Manager Metrics
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