1.进入cd 目录
cd /usr/local/xdd_xcx_java
2.查看当前任务进程
ps -ef | grep java
3.杀死进程,进程ID根据步骤2来
kill -9 进程ID
3.把diancan-api-2023-04-07-17-41.jar通过Xshell直接拖进liunx
4.执行jar包
nohup java -jar diancan-api-2023-04-07-17-41.jar >api.log &
5.查看执行进度
tail -f api.log
数据库死锁解决
=======================================
select * from information_schema.INNODB_TRX;
show OPEN TABLES where In_use > 0
show processlist
kill 7925