Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simple java profiler that take jstack output as input

tree: 3f5d5002f2

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 project
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
README.md

Jstack Profiler

Simple profiler that take concatenation of jstack's output as input. It's useful, when you want to find what's going on a production server that you can't stop or profile (with classic profiler).

How to use

First generate an full thread dump output every n seconds (60 sec in this example), append those thread dump in a file (jstack.log in this example). Ctrl+C to terminate

$ while true ; do jstack PID >> jstack.log ; sleep 60 ; done

Then launch the analyze with:

$ sbt "profiler jstack.log"
Something went wrong with that request. Please try again.