Created
May 4, 2012 12:02
-
-
Save laszlomiklosik/2594418 to your computer and use it in GitHub Desktop.
Using JSTATD deamon with VisualVM for remote profiling
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
1. create tools.policy file: | |
grant { | |
permission java.security.AllPermission; | |
}; | |
2. run to start jstatd: | |
jstatd -J-Djava.security.policy=tools.policy | |
3. check which port is run by jstatd: | |
lsof -i | |
useful article: | |
http://hillert.blogspot.com/2010/01/remote-profiling-of-jboss-using.html | |
http://stackoverflow.com/questions/7424519/using-visualvm-to-connect-to-a-remote-jstatd-instance-through-a-firewall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment