Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bahamas10/dtrace-scripts

Various DTrace scripts
https://github.com/bahamas10/dtrace-scripts

Last synced: about 2 months ago
JSON representation

Various DTrace scripts

Awesome Lists containing this project

README

        

DTrace Scripts
==============

Various scripts for use with DTrace(1M)

Scripts
-------

### top-syscalls.d

./top-syscalls.d -p pid

Get an idea of the top syscalls for a given pid

### trace-open-read-close.d

./trace-open-read-close.d

Experimental script to trace the life-cycle of a file descriptor. By default,
this script looks at all processes on a given machine, and shows the open,
read, and close calls for a given file.

To Do
- Wrap this with bash to allow specifying a file or PID to trace
- Allow for tracing write(2) calls as well, and maybe mmap(2)

License
-------

MIT