个人常用的几种查询端口和进程的方法
netstat -an | grep 9030
lsof -i :9030
netstat -nlp | grep :9030
ps -ef | grep java
ps -ef | grep actuals
echo $(netstat -nlp | grep :9030 | awk '{print $7}' | awk -F"/" '{ print $1 }');
个人常用的几种查询端口和进程的方法
netstat -an | grep 9030
lsof -i :9030
netstat -nlp | grep :9030
ps -ef | grep java
ps -ef | grep actuals
echo $(netstat -nlp | grep :9030 | awk '{print $7}' | awk -F"/" '{ print $1 }');