若想在linux下查询某个时间段的log,用sed命令示例如下:

 

$  sed -n '/2017-01-04 11:00:00/,/2017-01-04 11:20:55/p'  ejabberd.log

相关文章:

  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2022-03-08
猜你喜欢
  • 2022-12-23
  • 2021-08-24
  • 2021-12-01
  • 2021-12-08
  • 2021-10-30
  • 2022-01-13
相关资源
相似解决方案