linux系统查看tomcat启动日志
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
1、输入账户、密码登陆系统
2、cd 到项目tomcat中bin目录下
3、启动服务
./startup.sh
4、返回上一级目录
cd ..
5、切换到logs目录下
cd logs/
6、实时查看启动日志
tail -f catalina.out
其它查看方法
查询日志尾部最后10行的日志
tail -n 10 catalina.out
查询10行之后的所有日志
tail -n +10 catalina.out
查询日志文件中的头10行日志
head -n 10 catalina.out
查询日志文件除了最后10行的其他所有日志
head -n -10 catalina.out




A beautiful web dashboard for Linux
最近提交(Master分支:5 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
所有评论(0)