LInux下Ubuntu下查看端口占用及關閉

一、查看全部進程html ps -efhtm 或者blog ps -aux 進程 a:顯示全部程序 u:以用戶爲主的格式來顯示 x:顯示全部程序,不以終端機來區分get 二、查看使用某端口的佔用後臺 lsof -i:8080終端 或者:grep netstat -ap|grep 8090 程序  三、查看到進程id以後,使用netstat命令查看其佔用的端口端口 netstat -nap | gr
相關文章
相關標籤/搜索