Linux Command

Linux下查看进程占用端口: 查看程序进程号:sudo ps –ef | grep 进程名查看进程占用的端口号:sudo netstat –anp | grep 进程号使用lsof命令: sudo lsof –i :端口号
posted @ 2017-03-14 00:12  AndyHu518  阅读(139)  评论(0编辑  收藏  举报