根据端口查询进程

1)查询8888端口被那个进程占用
     netstat -lnp | grep 8888
2)根据端口查找进程号:
    lsof -Pnl +M -i4 | grep 8888

猜你喜欢

转载自lwpsoft.iteye.com/blog/2207678
今日推荐