永中doc服务重启

####查看永中最近100条日志
shell>>tail -100f /data/app/apache-tomcat-9.0.37/logs/catalina.out
####查看硬盘是否满了
shell>>df -h
###查看Java进程
shell>> ps -ef |grep java
root      2532     1  0 Aug01 ?        00:19:31 /data/app/jdk1.8.0_221/jre/bin/java -Djava.util.logging.config.file=/data/app/apache-tomcat-9.0.37/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dignore.endorsed.dirs= -classpath /data/app/apache-tomcat-9.0.37/bin/bootstrap.jar:/data/app/apache-tomcat-9.0.37/bin/tomcat-juli.jar -Dcatalina.base=/data/app/apache-tomcat-9.0.37 -Dcatalina.home=/data/app/apache-tomcat-9.0.37 -Djava.io.tmpdir=/data/app/apache-tomcat-9.0.37/temp org.apache.catalina.startup.Bootstrap start
root      2628  2532  0 Aug01 ?        00:08:25 /data/app/jdk1.8.0_221/bin/java -noverify -Djava.awt.headless=true -Xms10240m -Xmx10240m -Dlog.path=E:\\fcs\\log\\ -Dfile.encoding=utf-8 -jar /data/app/apache-tomcat-9.0.37/webapps/fcscloud/WEB-INF/classes/jar/dcc/dcsConvert.jar "preload" 2048 2532 "isLicense"
root      2630  2532  0 Aug01 ?        00:08:17 /data/app/jdk1.8.0_221/bin/java -noverify -Djava.awt.headless=true -Xms10240m -Xmx10240m -Dlog.path=E:\\fcs\\log\\ -Dfile.encoding=utf-8 -jar /data/app/apache-tomcat-9.0.37/webapps/fcscloud/WEB-INF/classes/jar/dcc/dcsConvert.jar "preload" 2048 2532 "isLicense"
root      2637  2532  0 Aug01 ?        00:08:00 /data/app/jdk1.8.0_221/bin/java -noverify -Djava.awt.headless=true -Xms10240m -Xmx10240m -Dlog.path=E:\\fcs\\log\\ -Dfile.encoding=utf-8 -jar /data/app/apache-tomcat-9.0.37/webapps/fcscloud/WEB-INF/classes/jar/dcc/dcsConvert.jar "preload" 2048 2532 "isLicense"
root      2641  2532  0 Aug01 ?        00:08:34 /data/app/jdk1.8.0_221/bin/java -noverify -Djava.awt.headless=true -Xms10240m -Xmx10240m -Dlog.path=E:\\fcs\\log\\ -Dfile.encoding=utf-8 -jar /data/app/apache-tomcat-9.0.37/webapps/fcscloud/WEB-INF/classes/jar/dcc/dcsConvert.jar "preload" 2048 2532 "isLicense"
root      2647  2532  0 Aug01 ?        00:08:15 /data/app/jdk1.8.0_221/bin/java -noverify -Djava.awt.headless=true -Xms10240m -Xmx10240m -Dlog.path=E:\\fcs\\log\\ -Dfile.encoding=utf-8 -jar /data/app/apache-tomcat-9.0.37/webapps/fcscloud/WEB-INF/classes/jar/dcc/dcsConvert.jar "preload" 2048 2532 "isLicense"
root     25714  2532  0 08:57 ?        00:00:09 /data/app/jdk1.8.0_221/bin/java -noverify -Djava.awt.headless=true -Xms10240m -Xmx10240m -Dlog.path=E:\\fcs\\log\\ -Dfile.encoding=utf-8 -jar /data/app/apache-tomcat-9.0.37/webapps/fcscloud/WEB-INF/classes/jar/dcc/dcsConvert.jar "preload" 2048 2532 "isLicense"
root     29544 29270  0 10:05 pts/1    00:00:00 grep --color=auto java
###禁止永中服务
shell>>cd /data/app/apache-tomcat-9.0.37/bin/
shell>>./shutdown.sh
###如果不行就删除java进程
shell>>pkill java
###如何启动永中服务
shell>ps -ef |grep redis
shell>./startup.sh