summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/dtracetoolkit/Proc/filebyproc.d
blob: d1f75897bf1751c0221f5e4f2624948c6d70990e (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 3 2007-08-01 10:50:08Z brendan $
 */

syscall::open*:entry { printf("%s %s", execname, copyinstr(arg0)); }
OpenPOWER on IntegriCloud