Skip to main content
Every option the filetrace command accepts, grouped by what it does, with the commands that take it. The filters page explains the value syntax in depth; this page is the index you can scan.

How options are written

An option that takes a value accepts it as the next argument or after an equals sign, so --since 1h and --since=1h are the same. Options may come in any order after the command. Giving the same option twice keeps the last value.
An option a command does not take is refused with exit code 2. If another command takes it, the message says so, as in --protocol does not apply to 'top processes'; otherwise it is reported as an unknown argument.

Global options

These go before the command.

Output options

The default format comes from [output] format in the configuration file, or table. Output that is not a terminal is never styled. See output formats for the fields of each format.

Selection filters

Every filter narrows the result; a record must match all of them. The value syntax for times, sizes, addresses, wildcards and regular expressions is on the filters page.

Activity

--active and --completed together select everything.

Sorting and limits

--sort orders rows by one key. Numeric keys sort largest first, except pid, which sorts ascending; process and file sort by name ascending. --limit takes a positive number and caps the rows. In inspect it caps every list in the report.

Command-specific options

Which command takes which option

Notes:
  • In top, --protocol applies to the files, destinations and connections subjects; top processes, the default, does not accept it.
  • In watch, the process filters apply to every view; --file and --confidence to the files view, --min-bytes to the files and processes views, and --remote and --protocol to the files and network views.
  • In events, --path matches only file events, the network filters match only events that concern a socket, and --script matches only process events and file_transfer.
  • In inspect, the target itself (a path, PID, socket ID, flow ID or address) does the selecting; --since narrows the history.

Examples