Created
October 23, 2012 12:14
-
-
Save lennartkoopmann/3938434 to your computer and use it in GitHub Desktop.
step by step jstatd explanation
This file contains hidden or 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
| STEP ONE: | |
| write this to a file called jstatd.all.policy: | |
| grant codebase "file:${java.home}/../lib/tools.jar" { | |
| permission java.security.AllPermission; | |
| }; | |
| STEP TWO: | |
| jstatd -J-Djava.security.policy=jstatd.all.policy | |
| STEP THREE: | |
| connect visualvm to the host you started jstatd on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment