Recently we were doing some load testing against Carbon servers. Soon we realized that there was no easy way to get average memory usage and CPU utilization. (apart from taking jconsole screenshots). End of the day we automated the whole testing process. Below is the JMX client [1] that we used to get details out from the remote running Carbon Server.
It dumps the details to a CSV file. Later you can process the CSV s in batch mode.
[1]https://gist.github.com/4143374
It dumps the details to a CSV file. Later you can process the CSV s in batch mode.
[1]https://gist.github.com/4143374