Skip to content
Advertisement

Executing Java Mission Control from command line

I have copied the JMC 7.0 binaries in linux. Any idea on how to start the application from commandline or do we need GUI to be enabled in linux ?

Thanks, Naveed

Advertisement

Answer

There is no headless mode of JMC, but you can start a recording and open it from the shell.

java -XX:StartFlightRecording:filename=dump.jfr -version
./jmc -openFile dump.jfr 
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement