Skip to content

Instantly share code, notes, and snippets.

@kelseyhightower
Created March 2, 2015 20:10
Show Gist options
  • Save kelseyhightower/fe805a26180c470a2155 to your computer and use it in GitHub Desktop.
Save kelseyhightower/fe805a26180c470a2155 to your computer and use it in GitHub Desktop.
sudo netstat -pantl
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 489/systemd-resolve
tcp 0 0 10.240.21.79:55374 169.254.169.254:80 TIME_WAIT -
tcp 0 0 10.240.21.79:55371 169.254.169.254:80 TIME_WAIT -
tcp 0 0 10.240.21.79:55365 169.254.169.254:80 TIME_WAIT -
tcp 0 0 10.240.21.79:55323 169.254.169.254:80 ESTABLISHED 18492/python2.7
tcp6 0 0 :::4001 :::* LISTEN 18817/etcd
tcp6 0 0 :::5355 :::* LISTEN 489/systemd-resolve
tcp6 0 0 :::22 :::* LISTEN 1/systemd
tcp6 0 0 :::7001 :::* LISTEN 18817/etcd
tcp6 0 920 10.240.21.79:22 71.237.163.164:39513 ESTABLISHED 1/systemd
tcp6 0 0 10.240.21.79:22 71.237.163.164:35168 ESTABLISHED 1/systemd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment