0
点赞
收藏
分享

微信扫一扫

lsof docker 端口查询状态失败 替代方案

南陵王梁枫 2023-03-06 阅读 59

场景

docker环境下,CentOS7.6 ARM版本执行返回空

[root@taishan-atlas ~]# lsof -i:3306

[root@taishan-atlas ~]#


替代方案

[root@taishan-atlas ~]# netstat -an |grep 3306

tcp6       0      0 :::3306                 :::*                    LISTEN      

tcp6       0      0 192.168.12.208:3306     192.168.11.172:52728    ESTABLISHED

tcp6       0      0 192.168.12.208:3306     192.168.11.172:52710    ESTABLISHED


举报

相关推荐

0 条评论