摘要: 脚本名: mgrep #!/bin/bash source=/opt/dwebvideo_tomcat/logs/catalina.out a=10 # 读取输入 if [ -n "$2" ]; then a=$2 fi echo -e "\e[31m >>>--结果: > \e[0m" grep 阅读全文
posted @ 2020-07-14 14:38 林宇风 阅读(2349) 评论(0) 推荐(0)
摘要: 有一段线上日志: 2020-07-14 11:37:04.556 INFO [com.lyf.action.PlayAction:124] - [ 播放日志 add ] userid: 0 vid: 8079245, vtime: -1 ┏━━━━━ Debug [native.update d_s 阅读全文
posted @ 2020-07-14 14:30 林宇风 阅读(953) 评论(0) 推荐(0)
摘要: 自动刷新 ./bin/lagstash -f configfile.conf --config.reload.automatic 指定时间 --config.reload.interval <second> 参考: https://www.cnblogs.com/smail-bao/p/867534 阅读全文
posted @ 2020-07-14 14:19 林宇风 阅读(1151) 评论(0) 推荐(0)