03 2019 档案
摘要:# 更改apt源 cat > /etc/apt/sources.list <<'END' #阿里云 deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restric...
阅读全文
摘要:项目中多个实例,而每个实例均启动一个程序,本脚本将多个程序统一进行监控,并支持文件配置 PS. 发现zless实际是由less和zgrep组成
阅读全文
摘要:select t3.day_time ,t3.cnt ,t3.rn1 ,t3.rn2 ,t3.diff ,row_number() over(partition by t3.diff order by t3.day_time) as rn from ( select t2.day_time ,t2.c...
阅读全文
摘要:思路,计算总长,接着删除指定字符串,再计算长度,两者相减,除以指定字符串的长度
阅读全文