码迷,mamicode.com
首页 >  
搜索关键字:lines    ( 2570个结果
logstash日志根据关键词报警
logstash是可以根据日志级别,日志类型进行报警通知的。 这次精简教程,排除filebeat自带的#include_lines: ['^ERR', '^WARN']写法,直接使用logstash报警。 步骤一、安装logstash 方法1 去官网下载rpm包,官网地址:https://www.e ...
分类:其他好文   时间:2020-06-30 20:27:29    阅读次数:82
修改sql2slack 支持sql2 钉钉消息处理
sql2slack对于slack 的处理是通过http 请求的,默认已经固定了格式了,以下是一个简单的修改,可以方便的支持钉钉webhook消息 而且具有通用性 需要修改部分 主要是关于使用resty 处理http 请求的部分,默认是写死的,可以修改为 job.go // _, err = rest ...
分类:数据库   时间:2020-06-29 11:45:19    阅读次数:84
字符流接受utf-8乱码解决
原方法: BufferedReader reader = new BufferedReader(new InputStreamReader( connection.getInputStream())); String lines; StringBuffer sb = new StringBuffer ...
分类:其他好文   时间:2020-06-26 12:30:03    阅读次数:55
9-Linux grep return code
The exit code is 1 because nothing was matched by grep. EXIT STATUS The exit status is 0 if selected lines are found, and 1 if not found. If an error ...
分类:系统相关   时间:2020-06-24 16:28:13    阅读次数:81
awk 不一样的分隔符 - 空格分隔符
今天用awk格式化字符串的时候,发现了一个奇怪现象,查看了awk手册后,特以此文记录。示例文本内容后文所有awk语名中出现的file.txt内容均如下:#cat-Afile.txt1^Iroot:x:0:0:root:/root:/bin/bash$2^Ibin:x:1:1:bin:/bin:/sbin/nologin$3^Idaemon:x:2:2:daemon:/sbin:/sbin/nolo
分类:其他好文   时间:2020-06-24 00:34:02    阅读次数:91
绘图小结
https://www.cnblogs.com/hany-postq473111315/p/12765835.html https://www.cnblogs.com/hany-postq473111315/p/12765847.html https://www.cnblogs.com/hany-p ...
分类:其他好文   时间:2020-06-20 18:33:12    阅读次数:80
Oracle SQL调优系列之SQL Monitor Report
@(Oracle SQL调优系列之SQL Monitor Report) 1、SQL Monitor简介 sql monitor是oracle官方提供的自动监控符合特定条件的SQL,用于收集执行时的细节信息的监控工具,常用于sql调优和系统性能监控 2、捕捉sql的前提 sql monitor 捕捉 ...
分类:数据库   时间:2020-06-19 16:29:09    阅读次数:73
typora快捷键
标题 Ctrl+数字 h1~h6 # 一阶标题 ## 二阶标题 ###### 六阶标题 粗体 Ctrl+B **粗体** 斜体 Ctrl+i *斜体* 下划线 Ctrl+u <ul>下划线</ul> 高亮 ==高亮== 删除线 alt+shift+5 ~~ 内容 ~~ 角标 X2 H2O x^2^ ...
分类:其他好文   时间:2020-06-18 12:40:19    阅读次数:73
C# read and compute the code lines number of cs files based on given directory
static void ComputeCodeLines() { string dir = @"D:\Work"; int totalLines = 0; string[] allFiles = Directory.GetFiles(dir, "*.cs", SearchOption.AllDire ...
分类:Windows程序   时间:2020-06-17 12:48:11    阅读次数:67
7-4 List Leaves (25分) JAVA
Given a tree, you are supposed to list all the leaves in the order of top down, and left to right. Input Specification: Each input file contains one t ...
分类:编程语言   时间:2020-06-16 12:46:45    阅读次数:64
2570条   上一页 1 ... 7 8 9 10 11 ... 257 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!