somo(1)

SOMO(1) User Commands SOMO(1)

NAME

somo - Socket and port monitoring tool

SYNOPSIS

somo [OPTIONS] [COMMAND]

DESCRIPTION

A human-friendly alternative to netstat for socket and port monitoring on Linux and macOS.

Commands:

generate-completions
Generate shell completions
generate-config-file
Generate config file
help
Print this message or the help of the given subcommand(s)

OPTIONS

-k, --kill
Display an interactive selection option after inspecting connections
--proto <PROTO>
Deprecated: Use '--tcp' and '--udp' instead
-t, --tcp
Include TCP connections
-u, --udp
Include UDP connections
--ip <IP>
Filter connections by remote IP address
--remote-port <REMOTE_PORT>
Filter connections by remote port
-p, --port <PORT>
Filter connections by local port
--program <PROGRAM>
Filter connections by program name
--pid <PID>
Filter connections by PID
--format <FORMAT>
Format the output in a certain way, e.g., `somo --format "PID: {{pid}}, Protocol: {{proto}}, Remote Address: {{remote_address}}"`
--json
Output in JSON
-o, --open
Filter by open connections
-l, --listen
Filter by listening connections
-e, --established
Filter by established connections
--exclude-ipv6
Deprecated: Use '--ipv4' instead
-4, --ipv4
Get only IPv4 connections
-6, --ipv6
Get only IPv6 connections
-c, --compact
Get compact table view
-r, --reverse
Reverse order of the table
-s, --sort <SORT>
Sort by column name [possible values: proto, local_port, remote_address, remote_port, program, pid, state]
--config-file
Retrieve config file path
--no-config
Ignore config file
-a, --annotate-remote-port
Annotate remote port with service name and ephemeral tag
--no-pager
Never page output
-h, --help
Print help
-V, --version
Print version
May 2026 somo 1.3.3