Java Flight Recorder
Setup
Operation
Start a recording
jcmd <PID> JFR.start settings=<settingsfile>
Dump the results
jcmd <PID> JFR.dump filename=<filename>
Stop a recording
jcmd <PID> JFR.stop
jcmd <PID> JFR.start settings=<settingsfile>
jcmd <PID> JFR.dump filename=<filename>
jcmd <PID> JFR.stop