jcmd - Online Linux Manual PageSection : 1
Updated : 03 March 2015
Source : JDK 8
Note : Troubleshooting Tools
NAMEjcmd − Sends diagnostic command requests to a running Java Virtual Machine (JVM).
SYNOPSISjcmd [−l|−h|−help]jcmd pid|main−class PerfCounter.printjcmd pid|main−class −f filenamejcmd pid|main−class command[ arguments]
DESCRIPTIONThe jcmd utility is used to send diagnostic command requests to the JVM. It must be used on the same machine on which the JVM is running, and have the same effective user and group identifiers that were used to launch the JVM. .it 1 an-trap
¶Note ¶.br To invoke diagnostic commands from a remote machine or with different identifiers, you can use the com.sun.management.DiagnosticCommandMBean interface. For more information about the DiagnosticCommandMBean interface, see the API documentation at http://docs.oracle.com/javase/8/docs/jre/api/management/extension/com/sun/management/DiagnosticCommandMBean.html If you run jcmd without arguments or with the −l option, it prints the list of running Java process identifiers with the main class and command−line arguments that were used to launch the process. Running jcmd with the −h or −help option prints the tool’s help message. If you specify the processes identifier (pid) or the main class (main−class) as the first argument, jcmd sends the diagnostic command request to the Java process with the specified identifier or to all Java processes with the specified name of the main class. You can also send the diagnostic command request to all available Java processes by specifying 0 as the process identifier. Use one of the following as the diagnostic command request: Perfcounter.print Prints the performance counters available for the specified Java process. The list of performance counters might vary with the Java process. −f filename The name of the file from which to read diagnostic commands and send them to the specified Java process. Used only with the −f option. Each command in the file must be written on a single line. Lines starting with a number sign (#) are ignored. Processing of the file ends when all lines have been read or when a line containing the stop keyword is read. command [arguments] The command to be sent to the specified Java process. The list of available diagnostic commands for a given process can be obtained by sending the help command to this process. Each diagnostic command has its own set of arguments. To see the description, syntax, and a list of available arguments for a command, use the name of the command as the argument for the help command. Note: If any arguments contain spaces, you must surround them with single or double quotation marks (' or "). In addition, you must escape single or double quotation marks with a backslash (\) to prevent the operating system shell from processing quotation marks. Alternatively, you can surround these arguments with single quotation marks and then with double quotation marks (or with double quotation marks and then with single quotation marks).
OPTIONSOptions are mutually exclusive. −f filename Reads commands from the specified file. This option can be used only if you specify the process identifier or the main class as the first argument. Each command in the file must be written on a single line. Lines starting with a number sign (#) are ignored. Processing of the file ends when all lines have been read or when a line containing the stop keyword is read. −h
−help Prints a help message. −l Prints the list of running Java processes identifiers with the main class and command−line arguments.
SEE ALSO• jps(1)
+'bp 0
Johanes Gumabo
Data Size : 14,177 byte
man-jcmd-java-1.8.0-openjdk-1.8.0.171-8.b10.el6_9.x86_64.1Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 165,155
Visitor ID : :
Visitor IP : 3.145.196.141 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|jcmd-java-1.8.0-openjdk-1.8.0.171-8.b10.el6_9.x86_64.1|105|it|.it 1 an-trap
)