Skip to main content

Watching active IP connections

Dev

Watch + LSOF, refresh every 1second

watch -d -n1 lsof -i

Watch + netstat

watch -d -n1 'netstat -anp | grep -i stream'

Socket connect connections & bound to a port

ss -nap

via Joyent