|
[
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.

|
[
2007/03/27 05:10 | by bruce_wu ]
|
要查看 port 被使用, 使用 netstat 即可.
但要查看 port 被那隻程式, 就要使用 lsof,
lsof -i
感謝 jclin 教導: netstat -antp 也同樣能看出是哪隻程式佔用著 port.