Description
somo is a command-line tool for monitoring sockets and ports on Linux and macOS, meant as a friendlier alternative to netstat. Its output is a table that is easy to read, and you can filter and sort it. You can filter by TCP or UDP, by local or remote port, by remote IP address, by program name, by process ID, by user, and by open, listening or established connections, and by IPv4 or IPv6. A compact view is available for a smaller table. You can kill a process from the interface, and the output can be printed as JSON or in a custom format. The project shows how the flags map from the old netstat -tulpn to somo -l. Because you usually need to see every process and port, the README suggests running it with sudo, and it describes creating a symlink so the binary can run with root privileges. You can install it with Cargo, from the Debian package on the releases page, from the Arch package, from Nix flakes or from Homebrew. The Cargo, Nix and GitHub installs can give you a development version that may be unstable. The project is on GitHub at theopfr/somo.…
Highlights
- Readable table view of sockets and ports
- Filter and sort by port, IP, program and user
- Interactive process killing
- JSON and custom output
- Linux and macOS support
Ratings & Reviews
No ratings yet
Be the first to rate Somo.
People also visit
Somo FAQ
What is somo?
A human-friendly command-line alternative to netstat for monitoring sockets and ports on Linux and macOS.
Why run it with sudo?
To see all processes and ports. The README suggests a symlink so the binary can run with root privileges.
How do I install it?
With Cargo, from a Debian package, from Arch, with Nix flakes, or with Homebrew.
Can I kill a process from it?
Yes. Interactive killing of processes is a listed feature.
Can I get machine-readable output?
Yes. It supports JSON and custom formatted output.
Where is the source?
On GitHub at theopfr/somo.
What are the best Somo alternatives?
Popular alternatives to Somo include Portop, Neoss and Sloth. See all Somo alternatives



