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.
--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,--protocolapplies to thefiles,destinationsandconnectionssubjects;top processes, the default, does not accept it. - In
watch, the process filters apply to every view;--fileand--confidenceto the files view,--min-bytesto the files and processes views, and--remoteand--protocolto the files and network views. - In
events,--pathmatches only file events, the network filters match only events that concern a socket, and--scriptmatches only process events andfile_transfer. - In
inspect, the target itself (a path, PID, socket ID, flow ID or address) does the selecting;--sincenarrows the history.
Examples
Related pages
- Filters — value syntax, how filters combine, and time ranges.
- Output formats —
--format,--json,--jsonl,--output. - Exit codes — what each code means.
- Configuration reference — the settings behind the defaults.