Show Table of Contents
15.6.2. Enable Infinispan Statistics Collection from the Management CLI
Procedure 15.4. Enable Infinispan Statistics Collection from the Management CLI
In this procedure:
CACHE_CONTAINERis the preferredcache-container(for example,web)CACHE_TYPEis the preferred cache type (for example,distributed-cache)CACHEis the cache name (for example,dist)
- Enter the following command:
/subsystem=infinispan/cache-container=CACHE_CONTAINER/CACHE_TYPE=CACHE:write-attribute(name=statistics-enabled,value=true)
- Enter the following command to reload the server:
:reload
Note
To undefine an attribute, enter the following command:
/subsystem=infinispan/cache-container=CACHE_CONTAINER/CACHE_TYPE=CACHE:undefine-attribute(name=statistics-enabled)

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.