Viewing the EhCache JMX
- Make sure your server is running.
- Start JConsole.
- Under the MBeans tab, expand the list named net.sf.ehcache.
Under CacheStatistics, you can view the statistics of individual caches by expanding the cache and selecting Attributes.
To clear statistics, select clearStatistics under Operations and click the clearStatistics button.