VisualVM Reporting

时光总嘲笑我的痴心妄想 提交于 2021-02-11 03:02:06

问题


I am performing load test on JMeter for webbased application, and i have to get CPU Utilization, Memory Utilization, number of Threds. For this i am using VisualVM. Is there any way we can get as Report in the form of XLS or CSV or any other format we can give to the Customer.

Could you pleasee help me on this or otherwise is there any other Performance tool we can get CPU,Memory utilization?

-- Thanks, Raghu.ch,


回答1:


You can use Tracer plugin with various probes. Tracer can export data in CSV, HTML or XML.




回答2:


Using Java VisualVM 1.8, you can generate any of several formats, including CSV, from a snapshot.

Your CSV file will look something like this:

"Class Name - Live Objects";"Live Bytes [%]";"Live Bytes";"Live Objects"
"char[]";"24.76%";"237499352";"1472791"
"byte[]";"12.27%";"117657848";"80945"
...

For the specific data you mentioned, it looks like you will need to download one or more of the Tracer plugins that Tomas Hurka mentioned. You can do this from the Java VisualVM GUI via Tools -> Plugins.

After restarting the tool, you can save to various formats.



来源:https://stackoverflow.com/questions/14683852/visualvm-reporting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!