Last active
August 29, 2015 13:57
-
-
Save olauzon/9537198 to your computer and use it in GitHub Desktop.
Attach DTrace to JVM
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
dtrace -ln 'hotspot$target:::' -p <pid> | |
wget http://www.cs.duke.edu/csl/docs/java/sample/dtrace/hotspot/gc_time_stat.d | |
chmod 755 gc_time_stat.d | |
./gc_time_stat.d -p <pid> 60 | |
# See http://www.cs.duke.edu/csl/docs/java/sample/dtrace/hotspot/ for more scripts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment