Linux 查看日志

linux 查看日志:

日志文件名nohup.out

查看日志前100行:head nohup.out -n 100

查看带有关键词DataAccessResourceFailureException的日志:

cat nohup.out |grep 'DataAccessResourceFailureException'

tail -f nohup.out

猜你喜欢

转载自jijiaa12345.iteye.com/blog/2307682