随笔 - 835  文章 - 1 评论 - 40 阅读 - 102万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

01 2020 档案
ps 获取pid 常用
摘要:1. ps -ef | grep zookeeper | grep -v grep | awk '{print $2}' | xargs kill -9 kill $(ps aux | grep process_name | grep -v grep| tr -s ' '| cut -d ' ' - 阅读全文
posted @ 2020-01-19 15:23 lshan 阅读(3301) 评论(0) 推荐(0) 编辑
crontab post method
摘要:Step by step for crontab stop setup Sea@sea:/etc/lazada$ sudo crontab -e 1.Edit cron job 0 */6 * * * curl -X POST -d @/etc/lzd/lzd_tracking.txt http:/ 阅读全文
posted @ 2020-01-17 18:46 lshan 阅读(321) 评论(0) 推荐(0) 编辑
time 集群一起修改时间
摘要:1)在/home/sea/bin目录下创建脚本dt.sh [sea@hadoop102 bin]$ vim dt.sh 2)在脚本中编写如下内容: #!/bin/bash log_date=$1 for i in hadoop102 hadoop103 hadoop104 do ssh -t $i 阅读全文
posted @ 2020-01-15 17:40 lshan 阅读(147) 评论(0) 推荐(0) 编辑
xcall.sh
摘要:参数 $* : 表示把输入的所有当成参数 1)在/usr/local/bin目录下创建脚本xcall [sea@hadoop102 bin]$ vim xcall 2)在脚本中编写如下内容: #!/bin/bashfor i in hadoop001 hadoop002 hadoop003do ec 阅读全文
posted @ 2020-01-15 17:36 lshan 阅读(580) 评论(0) 推荐(0) 编辑
hive 的几款可视化连接工具
摘要:参考原文:http://lxw1234.com/archives/2016/09/723.htm Hive的官网上介绍了三个可以在Windows中通过JDBC连接HiveServer2的图形界面工具,包括:SQuirrel SQL Client、Oracle SQL Developer以及DbVis 阅读全文
posted @ 2020-01-15 14:34 lshan 阅读(14362) 评论(0) 推荐(0) 编辑
mongo 使用 mongoexport 按照条件导出 csv 文件
摘要:cankao : https://blog.csdn.net/enjolras_fuu/article/details/96479807 mongoexport --host 127.0.0.1 --port 27017 --db ELSA_MILESTONE_SUBSCRIPTION_SERVIC 阅读全文
posted @ 2020-01-14 11:45 lshan 阅读(1454) 评论(0) 推荐(0) 编辑
WebFlux springboot 2.0
摘要:cankao :https://www.jianshu.com/p/2db1ecacb770 简介 由于Spring5.0(Springboot 2.0)之后,官方引入了全新的技术栈,对于开发者而言,Spring总会给我们带来惊喜,但是通过之前Reactive一篇文章,我们也知道,这种技术栈并不是新 阅读全文
posted @ 2020-01-08 14:55 lshan 阅读(279) 评论(0) 推荐(0) 编辑
Calendar java  日历(常用小结)
摘要:public static String before30Day(String time) { DateFormat dateFromat = new SimpleDateFormat(TIME_STAMP_STANDARD); try { Date parse = dateFromat.parse 阅读全文
posted @ 2020-01-02 11:55 lshan 阅读(673) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示