码迷,mamicode.com
首页 > 系统相关 > 详细

Linux上发布E卡通项目

时间:2019-11-21 19:57:57      阅读:85      评论:0      收藏:0      [点我收藏+]

标签:ali   logging   home   auto   bin   pre   gre   web   dir   

Linux上发布E卡通项目

使用的命令

ps -ef | grep java

kill -9 22314

nohup java -jar smartcard-ms-0.0.1-SNAPSHOT.jar > logs/SmartCard_Start.log 2>&1 &

示例

[root@59 smartcard]# ls
logs  pages  SmartCard_File  SmartCardLog  smartcard-ms-0.0.1-SNAPSHOT.jar  smartcard-ms-0.0.1-SNAPSHOT.jar.bak  smartcard_web  upload
[root@59 smartcard]# ps -ef | grep java
root     22058 18879  5 17:55 pts/3    00:01:11 java -jar witproperty-0.0.1-SNAPSHOT.jar
root     22314 25817  4 17:57 pts/0    00:00:58 java -jar smartcard-ms-0.0.1-SNAPSHOT.jar
root     23041     1  0 Aug15 ?        01:58:23 java -jar api_server-0.0.1-RELEASE.jar
root     24338 25817  0 18:17 pts/0    00:00:00 grep --color=auto java
root     28490     1  0 Nov18 ?        00:08:36 /usr/java/jdk1.8.0_131/bin/java -Djava.util.logging.config.file=/www/server/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -classpath /www/server/tomcat/bin/bootstrap.jar:/www/server/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/www/server/tomcat -Dcatalina.home=/www/server/tomcat -Djava.io.tmpdir=/www/server/tomcat/temp org.apache.catalina.startup.Bootstrap start
[root@59 smartcard]# kill -9 22314
[root@59 smartcard]# ps -ef | grep java
root     22058 18879  5 17:55 pts/3    00:01:11 java -jar witproperty-0.0.1-SNAPSHOT.jar
root     23041     1  0 Aug15 ?        01:58:23 java -jar api_server-0.0.1-RELEASE.jar
root     24354 25817  0 18:17 pts/0    00:00:00 grep --color=auto java
root     28490     1  0 Nov18 ?        00:08:36 /usr/java/jdk1.8.0_131/bin/java -Djava.util.logging.config.file=/www/server/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -classpath /www/server/tomcat/bin/bootstrap.jar:/www/server/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/www/server/tomcat -Dcatalina.home=/www/server/tomcat -Djava.io.tmpdir=/www/server/tomcat/temp org.apache.catalina.startup.Bootstrap start
[20]   Killed                  nohup java -jar smartcard-ms-0.0.1-SNAPSHOT.jar > logs/SmartCard_Start.log 2>&1
[root@59 smartcard]# nohup java -jar smartcard-ms-0.0.1-SNAPSHOT.jar > logs/SmartCard_Start.log 2>&1 &
[22] 24363
[root@59 smartcard]# ps -ef | grep java
root     22058 18879  5 17:55 pts/3    00:01:11 java -jar witproperty-0.0.1-SNAPSHOT.jar
root     23041     1  0 Aug15 ?        01:58:23 java -jar api_server-0.0.1-RELEASE.jar
root     24363 25817 99 18:17 pts/0    00:00:07 java -jar smartcard-ms-0.0.1-SNAPSHOT.jar
root     24387 25817  0 18:17 pts/0    00:00:00 grep --color=auto java
root     28490     1  0 Nov18 ?        00:08:36 /usr/java/jdk1.8.0_131/bin/java -Djava.util.logging.config.file=/www/server/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -classpath /www/server/tomcat/bin/bootstrap.jar:/www/server/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/www/server/tomcat -Dcatalina.home=/www/server/tomcat -Djava.io.tmpdir=/www/server/tomcat/temp org.apache.catalina.startup.Bootstrap start

Linux上发布E卡通项目

标签:ali   logging   home   auto   bin   pre   gre   web   dir   

原文地址:https://www.cnblogs.com/mozq/p/11907824.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!