查看某段时间内的日志: sed -n '/起始时间/,/结束时间/p' 文件
sed -n ‘/2018-06-21 14:30:20/,/2018-06-21 16:12:00/p’nohup.out | grep ‘exception’