Next: , Previous: Optimisation Options, Up: Invoking find


7.1.4 Debug Options

The ‘-D’ option makes find produce diagnostic output. Much of the information is useful only for diagnosing problems, and so most people will not find this option helpful.

The list of debug options should be comma separated. Compatibility of the debug options is not guaranteed between releases of findutils. For a complete list of valid debug options, see the output of find -D help. Valid debug options include:

help
Explain the debugging options.
tree
Show the expression tree in its original and optimised form.
stat
Print messages as files are examined with the stat and lstat system calls. The find program tries to minimise such calls.
opt
Prints diagnostic information relating to the optimisation of the expression tree; see the ‘-O’ option.
rates
Prints a summary indicating how often each predicate succeeded or failed.