Created
December 6, 2022 14:12
-
-
Save ufuk/549fb6c85f1d681b62634f23341e3bc3 to your computer and use it in GitHub Desktop.
Display a Java process' system properties or flags (https://docs.oracle.com/en/java/javase/17/docs/specs/man/jcmd.html)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# list Java processes | |
jcmd -l | |
# list running JVM's system properties or flags (select a 'pid' from above command's result list) | |
jcmd pid VM.system_properties | |
jcmd pid VM.flags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment