mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
646 B
646 B
Check the current JVM Perf Counter information.
perfcounter -h{{execute T2}}
Usage
perfcounter{{execute T2}}
Print more information with the -d{{}} option:
perfcounter -d{{execute T2}}
PS: for JVM above JDK9
If the information is not printed, when the application starts, add the following parameters:
--add-opens java.base/jdk.internal.perf=ALL-UNNAMED --add-exports java.base/jdk.internal.perf=ALL-UNNAMED --add-opens java.management/sun.management.counter.perf=ALL-UNNAMED --add-opens java.management/sun.management.counter=ALL-UNNAMED{{}}