Created
August 10, 2016 09:06
-
-
Save stevenwilliamson/efd3846b616cd18a69c267f9fa157001 to your computer and use it in GitHub Desktop.
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
#!/usr/sbin/dtrace -s | |
syscall::write:entry /fds[arg0].fi_fs == "zfs" && fds[arg0].fi_mount == "/dataset/mounted/here"/ | |
{ | |
printf("%s touched %s", pid, fds[arg0].fi_pathname; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment