# 按照时间切分日志 sed -n '/^2021-11-01 16:35:48.573/, /^2021-11-01 16:35:54/'p hsp-ipmp-payment.log > payment-11.01.log sed -n '/^2022-03-29 10:50:00/, /^2022-03-29 10:59:00/'p hsp-ipmp-payment.log > payment-03.29.log
cat -n app.log | grep "2022-03-21 16:26:49.801" -B 10
sed -n '/^2022-03-21 16:11:23.666/, /^2022-03-21 16:11:28/'p app.log > dispatch-03.21.log
|