4 pointsby cnord2 hours ago2 comments
  • ventana2 hours ago
    netstat and/or lsof will normally take care of that, but sure, everyone makes their own tools these days!
    • cnordan hour ago
      what's the go-to command from your shell history to do that with netstat? :)
      • ventanaan hour 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.
  • cnord2 hours ago
    Wrote a script with `lsof` + `ps` to see which agents are using which ports. Might be interesting to throw in your dotfiles!