Created
April 20, 2015 20:05
-
-
Save elifarley/6f4ddba556754273a501 to your computer and use it in GitHub Desktop.
JVM monitoring
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
# On remote server: | |
echo 'grant codebase "file:${java.home}/../lib/tools.jar" { permission java.security.AllPermission; };' > /tmp/tools.policy | |
sudo -u jboss $JDK_HOME/bin/jstatd -J-Djava.rmi.server.hostname=$(hostname -i) -J-Djava.security.policy=/tmp/tools.policy | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment