]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Proc/filebyproc.d
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Proc / filebyproc.d
1 #!/usr/sbin/dtrace -s
2 /*
3  * filebyproc.d - snoop files opened by process name. DTrace OneLiner.
4  *
5  * This is a DTrace OneLiner from the DTraceToolkit.
6  *
7  * $Id: filebyproc.d 3 2007-08-01 10:50:08Z brendan $
8  */
9
10 syscall::open*:entry { printf("%s %s", execname, copyinstr(arg0)); }