I'm seeking hacker advice for this sysop script, to make it more useful on more systems. Currently handles ss, lsof, netstat, fuser, on macOS and Linux. Thanks!
Why is this a shell script? Shouldn't it be just a few documented ways to get such information with mentioned tools? Script is just too much for this, you have to trust the author, trust the source, install it, learn it, run it. While you could've just read few lines of text and run appropriate commands in the terminal.