How do I install ss on OS X? I couldn't find the iproute package in homebrew.
Red Hat recommends ss over netstat in Red Hat Enterprise Linux 7. ss is provided by the iproute package.
In order to get
ss, you would need to get the source code for
iproute. Since you mention Red Hat linux, go onto a linux machine running Red Hat, and run the following command:
sudo yum source iproute
Now, copy over the source code to your Mac, and compile it.
You could also go on the Red Hat packages site and get the source tarball.
Note: I have not tested this, but this is the normal way to get source code.