← Back to Command Directory ← Back to Home

/jfr

Starts or stops a Java Flight Recorder (JFR) profiling session. JFR is a diagnostic tool built into the JVM that captures detailed performance data.

Syntax

/jfr (start|stop)

Parameters

NameRequiredDescription
start|stopYesWhether to begin or end the profiling session.

Examples

/jfr start
/jfr stop

Notes

Command Block Use

This command is not typically used from command blocks. It requires the highest permission level and is a diagnostic tool for server operators.

Related Commands