1,查询tomcat启动情况:
ps aux|grep tomcat
2,杀死进程:
kill -9 0000(代表进程号)
3,查询某个端口号情况
netstat -lanp|grep 8080
4,启动jar包
nohup java -jar *.jar >*.log 2>&1 &
1,查询端口号情况
netstat -ano|findstr "8080"