Skip to content

Instantly share code, notes, and snippets.

@safchain
Created January 13, 2015 13:44
Show Gist options
  • Save safchain/bf90445a92ecc60aede2 to your computer and use it in GitHub Desktop.
Save safchain/bf90445a92ecc60aede2 to your computer and use it in GitHub Desktop.
Jstatd
jstatd.policy:
grant codebase "file:${java.home}/../lib/tools.jar" {
permission java.security.AllPermission;
};
jstatd -p 1234
-J-Djava.security.policy=jstatd.policy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment