What is the equivalent of `ss` for Mac? [closed]

I want a command-line tool to inspect sockets, like ss for Linux, but for Mac. Is there a port of that tool, or another tool I could use for Mac OS systems?


Solution 1:

The equivalent of ss for Mac OSX is netstat, part of Network Utility. See https://support.apple.com/en-us/HT202790