服务器命令

查看log:

  tail -f /tpsys/tomcat/tomcat-8186-claimplat-service-api/bin/logs/claimplat/claimplat-serviceapi/common/serviceapi.log

  tail -1000 /tpsys/tomcat/tomcat-8186-claimplat-service-api/bin/logs/claimplat/claimplat-serviceapi/common/serviceapi.log

启动tomcat:

  ./startup.sh

查看端口:

  ps -ef| grep 8187

定位tomcat命令:

  cd /tpsys/tomcat/tomcat-8186-claimplat-service-api/bin

原文地址:https://www.cnblogs.com/cambra/p/13705630.html