Export Java VisualVM .nps profiler data to excel
Is there any way to convert the .nps profiler data captured by VisualVM to excel.
Namely I'd like to get a table view of the HotSpot Methods.
In the end I want to know if there's a way to automate the capture of VisualVM profiler statisitcs (e.g. command line script) and export that to Exc开发者_运维问答el (CSV file or whatever), so that we could automatically upload it to say Google Docs spreadsheets.
It appears that VisualVM just uses the standard HPROF cpu=samples, but it's able to do it remotely I'm only aware of enabling profiling as a JVM argument. Is there some way to trigger that from JMX?
There's a basic option in VisualVM when viewing the results to export to XML, CSV, NPS.
精彩评论