; disabled; vendor preset: disabled) Active: active (running) since Tue 2016-01-19 17:49:51 CST; 5s docker[4514]: time="2016-01-19T17:49:51.279578666+08:00" level=info msg="Docker daemon" commit=a34a1d5
randrw 使用随机读写模式 -rwmixread=70 随机读写下读占比70% -ioengine=psync 使用psync的io引擎 -bs=16k 设定单次IO的block size大小 -size=5G 这次要进行如下测试 1.要求绕过buffer 2.io队列深度为4 3.100个线程并发 4.随机读写,写占比30% 4.blocksize并不统固定,其中4k占比10%,64K占比50%,32k占比40% 5. 总大小为5G 6.50秒钟给出结果 [root@iZ116haf49sZ iotest]# time fio -filename=/tmp/iotest/test -direct=1 -iodepth 4 -thread -rw=randrw -rwmixread=70 -ioengine=psync -bssplit=4k/10:64k/50:32k/40 -size=5G -numjobs=
limits.conf 中修改系统的文件句柄数,这个参数对会产生大量连接,需要打开很多文件的服务有制约作用,系统的默认1024比较保守,可以满足开发需求,但无法满足生产需求 ---- rabbitmqctl基础操作
Attribute Comment czxid The zxid of the change that caused this znode to be created. mzxid The zxid of the change that last modified this znode. ctime The time in milliseconds from epoch when this znode was created. mtime The time in milliseconds from epoc
options for PCRE --with-pcre-jit build PCRE with JIT compilation support --with-md5= DIR set path to md5 library sources --with-md5-opt=OPTIONS set additional build options for md5 --with-md5-asm use md5 assembler sources --with-sha1=
zookeeper [root@h101 zookeeper-Standalone]# grep -v "^#" conf/zoo.cfg tickTime=2000 initLimit=10 syncLimit=5 192.168.100.101:2180 product=test dashboard_addr=192.168.100.102:18087 password=codis backend_ping_period=5
server y.y.y.y:80 max_fails=1 fail_timeout=10s weight=25; check interval=5000 fall=5
Filebeat 是一个轻量友好的工具,用来从目标服务器中收集文本日志然后然后转发给 Logstash 实例进行处理,其实就是一个 Logstash 的轻量前端文本收集代理
由于我们虚拟机接入局域网是使用的网桥,也没有手动配置IP,所以开始会被自动分配一个IP,但作为服务器不能使用动态IP,最好静态指定,所以要修改一下网络配置
root@h101 memcached-1.4.24# /usr/local/bin/memcached -h
获取值 [root@docker etcd-v2.2.4-linux-amd64]# curl http://127.0.0.1:2379/v2/keys/message {"action":"get","node":{"key":"/message","value":"Hello world","modifiedIndex":12,"createdIndex":12}} [root@docker etcd-v2.2.4-linux-amd64]# ---- 修改值 [root@docker etcd-v
* password entries in the conf no longer require specifying an auth-type like password "..." { md5; notBefore=Mar 21 14:20:53 2016 GMT notAfter=Mar 19 14:20:53 2026 GMT SHA256 Fingerprint=05:CD:52:91:5B
docs.count docs.deleted store.size pri.store.size yellow open logstash-2015.05.19 5 4624 0 30.8mb 30.8mb yellow open filebeat-2015.12.24 5 3182 0 1mb 1mb yellow open logstash-2015.05.18 5 4631 0 28.9mb 28.9mb yellow open logstash-2016.12.22 5 1 0 11.6kb 11.6kb yellow open logstash-2016.12.23 5
再次配置,就成功了 [root@h101 daq-2.0.6]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make
qdownload qdownload 从七牛空间同步数据到本地,支持只同步某些前缀的文件,支持增量同步 [root@h101 qshell]# cat ccfg { "dest_dir" : "/tmp/x", "bucket" : "qiniucloud-goods", "domain" : "http://video.qiniutest.cn", "access_key" : "ELUs327kxVPJrGCXqWae9yioc0xY
pri rep docs.count docs.deleted store.size pri.store.size yellow open logstash-2015.12.23 5 1 100 0 235.8kb 235.8kb yellow open filebeat-2015.12.24 5 1 3175 0 1018.6kb 1018.6kb yellow open logstash-2015.12.22 5 1 41
安装 [root@h102 haproxy-1.6.3]# make install PREFIX=/usr/local/haproxy install -d "/usr/local/haproxy/sbin" install haproxy "/usr/local/haproxy/sbin" install -d "/usr/local/haproxy/share/man"/man1 install -m 644 doc/haproxy.1 "/usr/local/haproxy/share/man"/
univocity-parsers-1.5.4.jarib/leveldb-api-0.7.jar:lib/fastjson-1.2.7.jar -Dwrapper.key=9RaInG87OR4ajDV5
1. Error所有错误类型的父类型 * EvalError * RangeError:参数范围异常,toFix(num), 0=<num<=100(最新Chrome) * ReferenceError:找不到对象 * SyntaxError:语法错误 * TypeError:类型错误或者类型方法错误 * URIError:URI错误 2. 错误处理 * * try包裹的范围尽可能小;finally释放对象;finally可有可无:,大
{ "wan": "192.168.100.104" }, "CreateIndex": 3, "ModifyIndex": 5