netstat -nultp 查看所有端口情况
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 1046/sshd
tcp 0 0 0.0.0.0:7070 0.0.0.0:* LISTEN 30609/docker-proxy
tcp 0 0 0.0.0.0:7071 0.0.0.0:* LISTEN 30593/docker-proxy
udp 0 0 0.0.0.0:68 0.0.0.0:* 761/dhclient
udp 0 0 127.0.0.1:323 0.0.0.0:* 538/chronyd
udp6 0 0 ::1:323 :::* 538/chronyd
查看进程
ps -ef | grep 29584