Hi Benjamin,
You can get this information using the Mendix monitoring API - https://docs.mendix.com/refguide6/monitoring-mendix-runtime
Using default settings you can fire a request to localhost:8090 with the following headers
X-M2EE-Authentication: 64encoded password
Content-Type: application/json
and and the following body
{"action" : "cache_statistics", "params":{} }
Hope this helps,
Andrej
PS: Also read this question https://forum.mendix.com/link/questions/5585 which tells you how to set the M2EE password