1. linux 查詢某個端口被什麼進程佔用的命令linux
用lsof -i : 端口號便可獲取進程號spa
查看別人啓動的進程用 sudo lsof -i:進程
2.linux查詢進程佔用哪些端口查詢
netstat -nlapword