In the previous post I wrote about the new features in the cachemgm extension regarding the logging of the cache activity.
Now there are two more features available:
- Use Tx_Cachemgm_Cache_Frontend_LogablePhpFrontend to also log PHP Caches
- Use the new cli command "cachemgm_top" to watch the top caches
Find top cache identifiers
Once you have setuped the Logable Cache Frontends you can simply call:
To see a refreshing list of the top cache activity.
All filter arguments do also apply here - so you can use:
cli_dispatch.phpsh cachemgm_top --filterAction=MISS
to only see the top cache misses.
It gives you something like this:
Read in the next post for what this can be useful...