4 comments

  • ventana an hour ago

    netstat and/or lsof will normally take care of that, but sure, everyone makes their own tools these days!

      cnord an hour ago

      what's the go-to command from your shell history to do that with netstat? :)

        ventana 23 minutes ago

        On Linux, that would be netstat -lpn (from my memory, not from the shell history) :) On Mac, netstat won't show the pids, so it would be lsof.

  • cnord an hour ago

    Wrote a script with `lsof` + `ps` to see which agents are using which ports. Might be interesting to throw in your dotfiles!