1 .TH dnlcstat 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
3 dnlcstat \- DNLC statistics. Uses DTrace.
8 The DNLC is the Directory Name Lookup Cache. Filename lookups often
9 return a hit from here, before needing to traverse the regular file
10 system cache or go to disk.
12 Since this uses DTrace, only the root user or users with the
13 dtrace_kernel privilege can run this command.
17 unstable - this script uses fbt provider probes which may change for
18 future updates of the OS, invalidating this script. Please read
19 Docs/Notes/ALLfbt_notes.txt for further details about these fbt scripts.
22 Print DNLC statistics every second,
26 Print every 5 seconds, 6 times,
34 hit percentage for this sample
37 number of DNLC hits in this sample
40 number of DNLC misses in this sample
43 See the CacheKit, http://www.brendangregg.com/cachekit.html for a version
44 of dnlcstat written in Perl (Kstat) that uses much less CPU.
47 See the DTraceToolkit for further documentation under the
48 Docs directory. The DTraceToolkit docs may include full worked
49 examples with verbose descriptions explaining the output.
51 dnlcstat will run until Ctrl\-C is hit, or until the count argument