启动:通常是执行sh tomcat/bin/startup.sh 中止:通常是执行sh tomcat/bin/shutdown.sh脚本命令 查看:执行ps -ef |grep tomcat 输出以下 *** 5144 。。。等等.Bootstrap start 说明tomcat已经正常启动, 5144 就为进程号 pid = 5144
杀死:kill -9 5144linux
linux下实时查看tomcat运行日志tomcat
一、先切换到:cd tomcat/logs日志 二、tail -f catalina.out进程 三、这样运行时就能够实时查看运行日志了table |
Ctrl+c 是退出tail命令。grep