Skip to main content
filetrace processes lists the processes with network activity: how fast each is sending now, how many distinct files it has sent, how many connections it has open and how many bytes it has sent and received. Rows are ordered by outbound rate, then by bytes sent, so the processes sending now come first.

Usage

What it shows

A process is listed once it has sent or received bytes or holds an open socket. Processes that have exited stay listed while the agent remembers them; machine-readable output gives their status as exited.

Options

boolean
Only running processes with at least one open connection.
boolean
Add each process’s descendants to its totals: bytes, rates, connections, files and transfers.
number
Only this process.
string
Only processes with this name. * matches any run of characters. Alias: --name.
string
Only processes of this user, by name or numeric ID.
string
Only processes in this cgroup, by numeric ID or cgroup directory.
number
Only processes in this network, PID or mount namespace, given as the inode number that ls -Li /proc/<pid>/ns shows.
string
Only processes active at or after this time: a duration such as 10m, 1h or 7d, or an RFC 3339 timestamp.
string
Only processes that started at or before this time.
string
outbound, inbound, connections, bytes, time, pid or process. outbound and inbound order by the current rate, then by bytes; bytes orders by bytes sent and received together; time by the most recent activity.
number
Show at most this many rows.
string
default:"table"
table, json, jsonl, csv or quiet. Quiet prints one process ID per row.
boolean
Short for --format json.
boolean
Short for --format jsonl.
string
Write to this file instead of standard output.
Byte counts cover a record’s whole observed lifetime; --since and --until select which records are listed. See filters and output formats.

Examples

Machine-readable output adds the parent, user, executable, transfer counts, start time, status, cgroup and namespaces of each process:
To see one process in full, with its top destinations and the files it sent, use inspect process. top ranks the processes by outbound traffic.

Exit codes