端口占用查询: <进程ID>和<程序名称>tcp
1.查看哪一个进程占用了端口:blog
netstat -tunlp | grep port进程
几个参数含义:List
2.查看进程对应的程序udp
ps -ef |grep 进程IDgrep