LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

trawl

Network connection viewer and monitor

TLDR

Show network connections
$ trawl
copy
Show all connections
$ trawl -a
copy
Filter by process
$ trawl -p [pid]
copy
Show listening only
$ trawl -l
copy
Watch mode
$ trawl -w
copy

SYNOPSIS

trawl [-a] [-l] [-p pid] [-w] [options]

DESCRIPTION

trawl is a network connection viewer that displays information about active TCP connections on a system. It shows details including local and remote addresses, connection state, and the processes associated with each connection.The watch mode provides continuous updates, refreshing the connection list at regular intervals for real-time monitoring. Connections can be filtered by process ID to focus on a specific application's network activity, and the listening-only mode shows sockets waiting for incoming connections.Output is designed to be clean and readable, with options for numeric display to avoid DNS resolution delays.

PARAMETERS

-a

All connections.
-l
Listening only.
-p PID
Filter by process.
-w
Watch mode.
-n
Numeric output.
--help
Show help.

CAVEATS

Root may be needed. Platform specific. Network tool.

HISTORY

trawl is a network connection viewer providing information about active TCP connections.

SEE ALSO

ss(1), netstat(1), lsof(1)

Copied to clipboard
Kai