老师 后台运行项目后怎么停止
来源:6-1 单体架构上线部署

肖小小
2019-10-08
老师 后台运行项目后怎么停止
house/house-web/target ⍉
▶ nohup java -jar house-web-0.0.1-SNAPSHOT.jar &
[1] 24318
appending output to nohup.out
house/house-web/target
▶ ll
total 80616
drwxr-xr-x 5 xiao_xiaoxiao staff 160B Oct 8 14:59 classes
drwxr-xr-x 3 xiao_xiaoxiao staff 96B Oct 8 14:59 generated-sources
drwxr-xr-x 3 xiao_xiaoxiao staff 96B Oct 8 14:59 generated-test-sources
-rw-r–r-- 1 xiao_xiaoxiao staff 39M Oct 8 14:59 house-web-0.0.1-SNAPSHOT.jar
-rw-r–r-- 1 xiao_xiaoxiao staff 19K Oct 8 14:59 house-web-0.0.1-SNAPSHOT.jar.original
drwxr-xr-x 3 xiao_xiaoxiao staff 96B Oct 8 14:59 maven-archiver
drwxr-xr-x 3 xiao_xiaoxiao staff 96B Oct 8 14:59 maven-status
-rw------- 1 xiao_xiaoxiao staff 2.7K Oct 8 15:02 nohup.out
drwxr-xr-x 4 xiao_xiaoxiao staff 128B Oct 8 14:59 test-classes
house/house-web/target
▶
1回答
-
返回24318是java pid,通过kill -9 24318就能停止项目
00
相似问题