blob: 25da70e39090c134692481eacb8465c9c0de96b3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/sbin/dtrace -s
/*
* filebyproc.d - snoop files opened by process name. DTrace OneLiner.
*
* This is a DTrace OneLiner from the DTraceToolkit.
*
* $Id: filebyproc.d,v 1.1.1.1 2015/09/30 22:01:09 christos Exp $
*/
syscall::open*:entry { printf("%s %s", execname, copyinstr(arg0)); }
|