網頁內容載入中,請稍候...
[不指定 2007/03/27 05:10 | by bruce_wu ]
| |

要查看 port 被使用, 使用 netstat 即可.

<strong>netsta -tunl

t: tcp, u:udp, n: don't resolve names, l: listening

但要查看 port 被那隻程式, 就要使用 lsof,

lsof -i

感謝 jclin 教導: netstat -antp 也同樣能看出是哪隻程式佔用著 port.

Linux 系統相關 » Linux 指令 | 評論(0) | 引用(0) | 閱讀(2890)
 
發表評論
   
表情
emotemotemotemotemot
開啟HTML
開啟UBB
開啟表情
隱藏
記住我
暱稱   密碼   訪客無需密碼
網址   電郵   [註冊]