As I write this, my Mac has 7 dev servers listening on ports, two databases running, and a Next.js server on port 3000 holding 1.3 GB of memory. Everything it tracks adds up to 14.1 GB.
I only know that because I built a menu bar app to tell me. Without it, the answer is spread across terminal tabs, and you find out a server is still alive when the next one refuses to start on the same port.
The app is called PortWatch. It's open source, written in Swift, and it runs on macOS 13 or later.
What it shows
Projects: every process started from a folder inside your projects folder, grouped by project, with its ports
Databases and services: everything Homebrew services manages, running or stopped
Jobs: your own launchd agents, with their state and last exit code
Other: every other process listening on a port, collapsed by default
A server and its child processes count as one row.…