@Tobi Ajila
I couldn't find the reply button for your email so I'm posting this here.
I successfully used jcmd to find and attach to a JVM running under my ID. However, we submit the code I want to monitor from a scheduling system (Control-M) which gives the job a service ID. jcmd was unable to find that JVM when I enabled the attach interface. I assumed the problem was our ID's and group ID didn't match.
I will reread the doc for jcmd to see how to specify an ID. That would certainly be easier than submitting two jobs through Control-M so I'll give it a whirl.
Please let me know if you have any additional information that might help.
Thanks.
------------------------------
Robert Crawford
IT Contractor
Abstract Evolution
San Antonio TX
(210) 913-3822
------------------------------
Original Message:
Sent: Fri October 24, 2025 12:10 PM
From: Robert Crawford
Subject: Using JFR Runtime Options
Has anyone successfully used JFR (-XX) options?
IBM's doc has instructions on using jcmd through the JVM attach facility only. Using the attach facility would be awkward for me because the jobs run under a different ID than mine.
I can start recording with the -XX:StartFlightRecording option and get a trace under the default file name. But if I try to do something like, -"XX:StartFlightRecording=settings=default.jfc" or "-XX:FlightRecorderOptions=filename=myrecording.jfr" I get no recording at all.
This makes me wonder if Semeru supports the command line options at all.
Thanks.
------------------------------
Robert Crawford
------------------------------