会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chenzechao
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
21
22
23
24
25
26
27
28
29
···
39
下一页
2019年4月4日
MYSQL性能优化
摘要: 查看执行计划 ref: https://www.cnblogs.com/xinysu/p/7860609.html
阅读全文
posted @ 2019-04-04 10:55 chenzechao
阅读(133)
评论(0)
推荐(0)
2019年4月3日
shell map使用
摘要: # 定义初始化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)
通过shell处理多行数据
摘要: ### 源文件 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)
2019年3月29日
win10安装ubuntu子系统配置
摘要: 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)
2019年3月22日
Shell检查程序是否正常,并显示出程序启动时间、执行时间
摘要: 项目中多个实例,而每个实例均启动一个程序,本脚本将多个程序统一进行监控,并支持文件配置 PS. 发现zless实际是由less和zgrep组成
阅读全文
posted @ 2019-03-22 11:10 chenzechao
阅读(1429)
评论(0)
推荐(0)
2019年3月19日
持续次数计算逻辑
摘要: 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)
2019年3月13日
mysql统计字段中某一字符串出现的次数
摘要: 思路,计算总长,接着删除指定字符串,再计算长度,两者相减,除以指定字符串的长度
阅读全文
posted @ 2019-03-13 17:25 chenzechao
阅读(7666)
评论(0)
推荐(1)
2019年2月25日
Linux and Shell 实用命令
摘要: ### 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)
2019年2月20日
各版本JDK官方下载地址
摘要: 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)
2019年2月1日
验证码
该文被密码保护。
阅读全文
posted @ 2019-02-01 19:02 chenzechao
阅读(0)
评论(0)
推荐(0)
上一页
1
···
21
22
23
24
25
26
27
28
29
···
39
下一页
公告