linux下查看端口占用

摘自余洪春《构建高可用Linux服务器》

    sudo lsof -i:80

    lsof的本义是列出所有打开的文件,而socket是文件的一种

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.