Skip to content

Instantly share code, notes, and snippets.

@wsky
Last active August 29, 2015 14:01
Show Gist options
  • Save wsky/e3d3fc02aa2608750098 to your computer and use it in GitHub Desktop.
Save wsky/e3d3fc02aa2608750098 to your computer and use it in GitHub Desktop.
btrace, dtrace, strace, dtruss
#https://kenai.com/projects/btrace/pages/UserGuide
btrace pid script.java
#dtruss on mac
#http://www.brendangregg.com/DTrace/dtruss_example.txt
#https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/dtruss.1m.html
dtruss -p [pid] -t syscall::xxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment