上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: 简单的集群管理 (1)快速检查集群的健康状况 es提供了一套api,叫做cat api,可以查看es中各种各样的数据 GET /_cat/health?v epoch timestamp cluster status node.total node.data shards pri relo init 阅读全文
posted @ 2017-09-18 18:06 alexhe 阅读(758) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/wupeiqi/articles/4938499.html http://www.cnblogs.com/alex3714 z=100 print("x乘以y=", z ) 常量:在py里面所有的变量都是可变的 ,所以用全部大写的变量名来代表次变量为常量 阅读全文
posted @ 2017-08-15 15:58 alexhe 阅读(151) 评论(0) 推荐(0) 编辑
摘要: git commit -m "first blood" 创建初始版本库 mkdir public_html cd public_html echo "my website is alive" > index.html git init 会创建一个.git目录 git add index.html 添 阅读全文
posted @ 2017-08-14 17:12 alexhe 阅读(163) 评论(0) 推荐(0) 编辑
摘要: grok (verb) understand (something) intuitively or by empathy. One the most common tasks when parsing log data is to decompose raw lines of text into a 阅读全文
posted @ 2017-08-08 10:56 alexhe 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 调试模式立即生效: logstash -f beats.conf --config.reload.automatic 改表logstash数据: You can specify multiple expressions in a single condition: output { # Send p 阅读全文
posted @ 2017-08-04 09:59 alexhe 阅读(189) 评论(0) 推荐(0) 编辑
摘要: schema.xml管理逻辑库,分片表,分片借点和分片主机等信息 server.xml是系统参数的配置文件。 sequence是全局序列的配置文件 log4j.xml是mycat的日志输出配置文件 mycat从1.5版本开始支持两种配置方式:zookeeper和本地xml方式。默认以本地加载xml方 阅读全文
posted @ 2017-07-31 23:19 alexhe 阅读(2019) 评论(0) 推荐(0) 编辑
摘要: printf "%-5s %-10s %-4s\n" No Name Mark printf "%-5s %-10s %-4.2f\n" 1 Sarath 80.3456 %-5s知名了一个格式为左对齐且宽度为5的字符串替换(-表示左对齐) pgrep -f wechat 查找有wechat的pid 阅读全文
posted @ 2017-07-19 18:09 alexhe 阅读(346) 评论(0) 推荐(0) 编辑
摘要: yum install epel-release.noarch yum install docker-io.x86_64 docker info docker exec -ti alex /bin/bash一般用这个,退出用ctrl d docker run -i -t ubuntu /bin/ba 阅读全文
posted @ 2017-07-10 18:07 alexhe 阅读(180) 评论(0) 推荐(0) 编辑
摘要: show status\G; binlog_cache_size=131072 tmp_table_size=104857600 max_connections=5000 sort_buffer_size=1048576 join_buffer_size=1048576 innodb_sort_bu 阅读全文
posted @ 2017-05-24 00:26 alexhe 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 导入mysql数据库: set names utf8; source cloud_note.sql 1.搭建springMvc+springIOc+Mybatis --引入jar包 ioc,aop,dao,webmvc,json mybatis+mysql驱动+dbcp mybatis-spring 阅读全文
posted @ 2017-05-17 23:35 alexhe 阅读(814) 评论(2) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页