Skip to content

Instantly share code, notes, and snippets.

@carlcrott
Created March 2, 2012 04:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlcrott/1955759 to your computer and use it in GitHub Desktop.
Save carlcrott/1955759 to your computer and use it in GitHub Desktop.
ubuntu@domU-12-31-39-0A-16-63:~$ netstat -nlp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp6 0 0 :::3000 :::* LISTEN 14657/java
tcp6 0 0 :::22 :::* LISTEN -
udp 0 0 0.0.0.0:68 0.0.0.0:* -
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 3540 - @/com/ubuntu/upstart
unix 2 [ ACC ] STREAM LISTENING 5583 - /var/run/dbus/system_bus_socket
ubuntu@domU-12-31-39-0A-16-63:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment