diagnostics: use netstat -tulpn which includes process names

For example:

  docker:~# netstat -tulpn
  Active Internet connections (only servers)
  Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
  tcp        0      0 :::32768                :::*                    LISTEN      1344/docker-proxy
  tcp        0      0 :::2375                 :::*                    LISTEN      1124/docker
  tcp        0      0 :::5000                 :::*                    LISTEN      1444/docker-proxy
  tcp        0      0 :::5001                 :::*                    LISTEN      1494/docker-proxy

Signed-off-by: David Scott <dave.scott@docker.com>
This commit is contained in:
David Scott 2016-03-31 10:35:35 +01:00
parent 82e9dfc4ee
commit 157d2aef07

View File

@ -11,7 +11,7 @@ cd $TEMP/moby
date > "date"
uname -a > "uname -a"
ps uax > "ps -aux"
netstat -an > "netstat -an"
netstat -tulpn > "netstat -tulpn"
iptables -L > "iptables -L"
ifconfig -a > "ifconfig -a"
route -n > "route -n"