IT. Expert System.

Java Standard Edition (SE)

Command Reference


Java Platform, Standard Edition Java Flight Recorder Runtime Guide
Contents    Previous   

A Command Reference

This appendix serves as a basic reference to the commands you can use with Java Flight Recorder. It contains the following sections:

A.1 Command-Line Options

When you launch your Java application with the java command, you can specify options to enable Java Flight Recorder, configure its settings, and start a recording. The following command-line options are specific to Java Flight Recorder:

  • -XX:+|-FlightRecorder

  • -XX:FlightRecorderOptions

  • -XX:StartFlightRecording

These command-line options are available only in the commercial license of the JDK. To use them, you have to also specify the -XX:+UnlockCommercialFeatures option.

For more information about these options, see Java Command Line Reference at http://docs.oracle.com/javase/8/docs/technotes/tools/solaris/java.html (Solaris, Linux)
http://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html (Windows)


Note:

You should use -XX options only if you have a thorough understanding of your system. If you use these commands improperly, you might affect the stability or performance of your system. -XX options are experimantal, and they are subject to change at any time.


A.2 Diagnostic Command Reference

This is a description of the diagnostic commands available to control Java Flight Recorder and the parameters available for each command. This information is also available by running the jcmd command with the process identifier specified, followed by the help parameter and the commad name. For example, to get help information for the JFR.start command on a running JVM process with the identifier 5361, run the following:

jcmd 5361 help JFR.start

To get a full list of diagnostic commands available to the JVM, do not specify the name of the command. For more information about using the jcmd command, see the jcmd documentation at:

http://docs.oracle.com/javase/8/docs/technotes/tools/windows/jcmd.html

The diagnostic commands associated with Java Flight Recorder are:

A.2.1 JFR.start

The JFR.start diagnostic command starts a flight recording. Table A-1 lists the parameters you can use with this command.

A.2.2 JFR.check

The JFR.check command shows information about running recordings. Table A-2 lists the parameters you can use with this command.

A.2.3 JFR.stop

The JFR.stop diagnostic command stops running flight recordings. Table A-3 lists the parameters you can use with this command.

A.2.4 JFR.dump

The JFR.dump diagnostic command stops running flight recordings. Table A-4 lists the parameters you can use with this command.

Contents    Previous   


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 179 / 158848858. Delta: 0.04185 с