Linux 查看端口占用情況

    Linux 查看端口占用情況 Linux 查看端口占用情況可以使用 lsof 和 netstat 命令。 lsof lsof(list open files)是一個列出當前系統打開文件的工具。 lsof 查看端口占用語法格式: lsof -i:端口號 實例 查看服務器 8000 端口的佔用情況: # lsof -i:8000COMMAND  PID USER  FD  TYPE  DEVI
相關文章
相關標籤/搜索