network/connections
List TCP and UDP sockets with owning processes. Filter by port or state to identify which process is using a connection or listening port. Read from /proc/net, no ss required.
Instructions
Lists TCP and UDP sockets in every state with their owning processes, like ss -tuanp - read natively from /proc/net (no ss needed). Owning processes of other users' sockets are shown only with privileged: true. state filters by LISTEN (includes unconnected UDP), ESTABLISHED, TIME_WAIT, ... or the groups connected/synchronized. Hint: For physical network links and IPs, use the network://interfaces resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Filter by port | |
| state | No | Filter by TCP state, case-insensitive (LISTEN/listening, ESTABLISHED, TIME_WAIT, CLOSE_WAIT, SYN_SENT, ...). Omit to list all sockets - active connections and listening ports. | |
| privileged | No | Run as root to see PIDs of other users | |
| output_format | No | Desired output format (e.g. json, yaml, table, wide). Defaults to text |