macOS / binaries /

netstat

/usr/sbin/netstat
Show network status

The netstat command symbolically displays the contents of various network-related data structures. There are a number of output formats, depending on the options for the information presented.

source: man