Forum Stats

  • 3,875,465 Users
  • 2,266,926 Discussions
  • 7,912,225 Comments

Discussions

Need help extracting infor from jfr command line

VePuli-Oracle
VePuli-Oracle Member Posts: 22 Employee
edited Apr 11, 2018 3:20AM in Java Mission Control

Hi,

am reading this page - Java Mission Control 6.0 Release Notes

Says Running the Automated Analysis Headless

Try running: com.oracle.jmc.flightrecorder.rules.report.JfrRulesReport -min info -format text C:\recordings\JMC-5033\while_installing_from_updatesite.jfr -verbose

I downloaded JDK 9.0.4, installed , got JMC 6.0.

I dont file these jar file in C:\Program Files\Java\jdk-9.0.4\lib\missioncontrol\plugins

Can you please help me on where i can get these plugins downloaded.

Am looking for a command line ability on below from a jfr file.

1) extract Hot methods
2) extract the sqlid if any found

Any help appreciated.

thanks,

Puli.

Answers

  • Hirt-Oracle
    Hirt-Oracle Member Posts: 268
    edited Apr 11, 2018 3:20AM

    Hi there!

    To do exactly what you want to do, you will need to code your own rule. That said, if you're running on WLS you may be happy with the results you get by adding the WLS bundles to the class path when you run com.oracle.jmc.flightrecorder.rules.report.JfrRulesReport. For more information on running the analysis headless, see: JMC 6 Automated Analysis Headless – Marcus Hirt. The article names the bundles you must add to your class path to run the headless analysis.

    Also, the rules are very much improved in JMC 7, which should be out with JDK 11.

This discussion has been closed.