if
dtrace -n 'syscall::open*:entry { printf("%i %s %s %s",uid,execname,cwd,copyinstr(arg0)); }'
will show me all files that are opened as follows...
3 522 open:entry 0 init / /etc/inittab
3 522 open:entry 0 init /... (5 Replies)
libdtrace(3LIB) Interface Libraries libdtrace(3LIB)NAME
libdtrace - DTrace dynamic tracing software library
DESCRIPTION
Functions in this library define the interface for interacting with the DTrace dynamic tracing software, including the D language compiler
and facilities for enabling probes and consuming trace data.
INTERFACES
The interfaces provided by libdtrace.so.1 are currently private to the implementation of the Solaris system and DTrace subsystem and are
subject to change at any time without notice. Applications using these interfaces might fail to run on future releases. Refer to the
Solaris Dynamic Tracing Guide for a description of the public documented interfaces available for the DTrace facility.
FILES
/usr/lib/libdtrace.so.1 shared object
/usr/lib/64/libdtrace.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWdtrc |
+-----------------------------+-----------------------------+
|Interface Stability |Private |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO dtrace(1M), attributes(5), dtrace(7D)
Solaris Dynamic Tracing Guide
SunOS 5.10 17 Sep 2003 libdtrace(3LIB)