]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/dnlcsnoop.d.1m
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Man / man1m / dnlcsnoop.d.1m
1 .TH dnlcsnoop.d 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 dnlcsnoop.d \- snoop DNLC activity. Uses DTrace.
4 .SH SYNOPSIS
5 .B dnlcsnoop.d
6 .SH DESCRIPTION
7 The DNLC is the Directory Name Lookup Cache. Filename lookups often
8 return a hit from here, before needing to traverse the regular file
9 system cache or go to disk.
10
11 Since this uses DTrace, only the root user or users with the
12 dtrace_kernel privilege can run this command.
13 .SH OS
14 Solaris
15 .SH STABILITY
16 unstable - this script uses fbt provider probes which may change for
17 future updates of the OS, invalidating this script. Please read
18 Docs/Notes/ALLfbt_notes.txt for further details about these fbt scripts.
19 .SH EXAMPLES
20 .TP
21 Sample until Ctrl\-C is hit then print report,
22
23 .B dnlcsnoop.d
24 .PP
25 .SH FIELDS
26 .TP
27 PID
28 process ID
29 .TP
30 CMD
31 command name
32 .TP
33 TIME
34 Elapsed time for lookup, us
35 .TP
36 HIT
37 DNLC hit Y/N
38 .TP
39 PATH
40 Path for DNLC lookup
41 .PP
42 .SH DOCUMENTATION
43 See the DTraceToolkit for further documentation under the 
44 Docs directory. The DTraceToolkit docs may include full worked
45 examples with verbose descriptions explaining the output.
46 .SH EXIT
47 dnlcsnoop.d will sample until Ctrl\-C is hit. 
48 .SH AUTHOR
49 Brendan Gregg
50 [Sydney, Australia]
51 .SH SEE ALSO
52 dtrace(1M)