1.根據端口號查詢進程
netstat -tunlp|grep port
2.根據進程查詢來源程序
ps aux | grep pid
上圖看出所屬進程為2281
上圖看出占用8083端口的程序為ngnix
