1、首先查进程号:
ps aux|grep java
2、然后查进程号对应的端口号:
netstat -anp | grep pid
3、查看7080端口的使用情况:
lsof -i:7080
4、查看进程号对应的服务名
ps -ef|grep 6982
1、首先查进程号:
ps aux|grep java
2、然后查进程号对应的端口号:
netstat -anp | grep pid
3、查看7080端口的使用情况:
lsof -i:7080
4、查看进程号对应的服务名
ps -ef|grep 6982