How to collect JFR
Hi,
I want to collect the JFR for a JVM process but on the server don't see the required option JFR.start available. Can someone please suggest how to collect the JFR in this situation.
$ /u01/jdk/jdk1.7.0_55/bin/jcmd 14542 help
14542:
The following commands are available:
VM.native_memory
VM.commercial_features
ManagementAgent.stop
ManagementAgent.start_local
ManagementAgent.start
Thread.print
GC.class_histogram
GC.heap_dump
GC.run_finalization
GC.run
VM.uptime
VM.flags
VM.system_properties
VM.command_line
VM.version
help
Thanks,
Naveen