开发中使用的Linux命令 吃饭不挑食 2020-03-17 186 阅读1分钟 一、查看服务是否启动 1.ps -ef|grep java|grep -v grep 二、查看端口是否被占用 1.netstat -anp|grep 端口号 2.lsof -i:端口号