pathopens.d 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
NAME
pathopens.d - full pathnames opened ok count. Uses DTrace.
SYNOPSIS
pathopens.d
DESCRIPTION
This program prints a count of the number of times files have been successfully opened. This is somewhat special in that the full pathname is calculated, even if the file open referred to a relative pathname. Since this uses DTrace, only the root user or users with the dtrace_kernel privilege can run this command.
OS
Solaris
STABILITY
stable - needs the syscall provider.
EXAMPLES

This samples until Ctrl-C is hit. # pathopens.d

FIELDS

PATHNAME full pathname

COUNT number of successful opens

DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output.
EXIT
pathopens.d will sample until Ctrl-C is hit.
SEE ALSO
opensnoop(1M), dtrace(1M)