views:

27

answers:

1

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. alt text

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 Excel (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?

A: 

There's a basic option in VisualVM when viewing the results to export to XML, CSV, NPS.

Dougnukem