author | ysuenaga |
Wed, 13 Nov 2019 10:27:06 +0900 | |
changeset 59045 | 846fee5ea75e |
parent 48543 | 7067fe4e054e |
permissions | -rw-r--r-- |
11365 | 1 |
Usage: jcmd <pid | main class> <command ...|PerfCounter.print|-f file> |
22286
5c1a07e4573d
7185591: jcmd-big-script.sh ERROR: could not find app's Java pid.
ykantser
parents:
11365
diff
changeset
|
2 |
or: jcmd -l |
5c1a07e4573d
7185591: jcmd-big-script.sh ERROR: could not find app's Java pid.
ykantser
parents:
11365
diff
changeset
|
3 |
or: jcmd -h |
11365 | 4 |
|
22286
5c1a07e4573d
7185591: jcmd-big-script.sh ERROR: could not find app's Java pid.
ykantser
parents:
11365
diff
changeset
|
5 |
command must be a valid jcmd command for the selected jvm. |
11365 | 6 |
Use the command "help" to see which commands are available. |
7 |
If the pid is 0, commands will be sent to all Java processes. |
|
8 |
The main class argument will be used to match (either partially |
|
9 |
or fully) the class used to start Java. |
|
35970
e000817bd3a9
8149174: [TESTBUG] TestJcmdDefaults.java: ouput should contain all content of jcmd/usage.out
dsamersoff
parents:
22286
diff
changeset
|
10 |
If no options are given, lists Java processes (same as -l). |
11365 | 11 |
|
22286
5c1a07e4573d
7185591: jcmd-big-script.sh ERROR: could not find app's Java pid.
ykantser
parents:
11365
diff
changeset
|
12 |
PerfCounter.print display the counters exposed by this process |
11365 | 13 |
-f read and execute commands from the file |
14 |
-l list JVM processes on the local machine |
|
48543
7067fe4e054e
8189102: All tools should support -?, -h and --help
goetz
parents:
47216
diff
changeset
|
15 |
-? -h --help print this help message |