上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 39 下一页
摘要: 查看执行计划 ref: https://www.cnblogs.com/xinysu/p/7860609.html 阅读全文
posted @ 2019-04-04 10:55 chenzechao 阅读(133) 评论(0) 推荐(0)
摘要: # 定义初始化map declare -A map=(["100"]="1" ["200"]="2") # 输出所有key echo ${map[@]} # 输出key对应的值 echo ${map["100"]} # 遍历map for key in ${!map[@]} do echo ${map[${key}]} done #!/bin/bash #*****... 阅读全文
posted @ 2019-04-03 16:34 chenzechao 阅读(3295) 评论(0) 推荐(0)
摘要: ### 源文件 cat > tmpb <<'EOF' dbname:db_a,start_time:17:01:13 query_end_time:17:01:13,query_total_time:0,data_record_num is [341],data_size is 337K dbname:db_a,end_time:17:01:13 total time:0 =========... 阅读全文
posted @ 2019-04-03 09:41 chenzechao 阅读(3823) 评论(0) 推荐(0)
摘要: WSL2 Ubuntu 22.04 开启ssh并设置自动启动 – About Lionared # 更改apt源 cat > /etc/apt/sources.list <<'END' #阿里云 deb http://mirrors.aliyun.com/ubuntu/ trusty main re 阅读全文
posted @ 2019-03-29 11:42 chenzechao 阅读(1475) 评论(0) 推荐(0)
摘要: 项目中多个实例,而每个实例均启动一个程序,本脚本将多个程序统一进行监控,并支持文件配置 PS. 发现zless实际是由less和zgrep组成 阅读全文
posted @ 2019-03-22 11:10 chenzechao 阅读(1429) 评论(0) 推荐(0)
摘要: 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... 阅读全文
posted @ 2019-03-19 10:06 chenzechao 阅读(268) 评论(0) 推荐(0)
摘要: 思路,计算总长,接着删除指定字符串,再计算长度,两者相减,除以指定字符串的长度 阅读全文
posted @ 2019-03-13 17:25 chenzechao 阅读(7666) 评论(0) 推荐(1)
摘要: ### find只查当前目录# -maxdepth int 限制查询的子目录层级find -L . -maxdepth 1 -name '*.jar' -printf '%p:' ### 查看CPU使用率 mpstat -P ALL 2 阅读全文
posted @ 2019-02-25 16:47 chenzechao 阅读(422) 评论(0) 推荐(0)
摘要: Java Downloads | Oracle 中国 https://www.oracle.com/technetwork/java/archive-139210.html linux下JDK下载方法wget --no-check-certificate --no-cookies --header 阅读全文
posted @ 2019-02-20 15:35 chenzechao 阅读(9395) 评论(0) 推荐(1)
该文被密码保护。 阅读全文
posted @ 2019-02-01 19:02 chenzechao 阅读(0) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 39 下一页