Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programmatically run jstack? #5

Closed
tomlarkworthy opened this issue Mar 1, 2015 · 1 comment
Closed

Programmatically run jstack? #5

tomlarkworthy opened this issue Mar 1, 2015 · 1 comment

Comments

@tomlarkworthy
Copy link

Wondering if you had any tips for running jstack without command line access from the JVM? Its somewhat cumbersome to get shell to cloud JVMs like GCP, I'd rather expose a secured end point.

@stevegury
Copy link
Owner

If you want to do this, it would be better to use something like: twitter's util library, c.f. https://github.com/twitter/util/blob/master/util-jvm/src/main/scala/com/twitter/jvm/CpuProfile.scala#L110
It can export CPU profiling in Google perftools format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants