mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
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:
parent
82e9dfc4ee
commit
157d2aef07
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user