Tags / Strace
Miscellaneous System Administration Notes
Some miscellaneous notes I may split out into separate posts later… don’t bookmark this one.
View open network connections on OS X
sudo lsof -lnP +M -i4
The options:
-l don't convert uids to login
-n dont' convert network numbers to to hostnames
-P don't convert port numbers to service names
+M enable portmapping
-i4 look for IPv4 connections
See also nettop
. 3rd party apps include Little Snitch and RubberNet.