摘要:
使用pip安装插件的时候报错: You are using pip version 8.1.1, however version 9.0.1 is available.You should consider upgrading via the 'Python -m pip install --upg 阅读全文
摘要:
# Linux 下 取进程占用 cpu 最高的前10个进程ps aux|head -1;ps aux|grep -v PID|sort -rn -k +3|head # linux 下 取进程占用内存(MEM)最高的前10个进程ps aux|head -1;ps aux|grep -v PID|so 阅读全文
摘要:
查看系统默认的最大文件句柄数,系统默认是1024 # ulimit -n 1024 查看当前进程打开了多少句柄数 # lsof -n|awk '{print $2}'|sort|uniq -c|sort -nr|more 131 24204 57 24244 57 24231 ........ 其中 阅读全文
摘要:
1. elasticsearch 服务的监控与报警 http://bigbo.github.io/pages/2016/10/20/elasticsearch_monitor/ 2. How to monitor Elasticsearch performance https://www.datad 阅读全文
摘要:
1. linux下在某行的前一行或后一行添加内容 http://www.361way.com/sed-process-lines/2263.html 阅读全文
摘要:
转自:http://www.cnblogs.com/xing901022/archive/2016/04/07/5365842.html 阅读全文
摘要:
FIO是测试IOPS的非常好的工具,用来对硬件进行压力测试和验证,支持13种不同的I/O引擎,包括:sync,mmap, libaio, posixaio, SG v3, splice, null, network, syslet,guasi, solarisaio 等等。 fio 官网地址:htt 阅读全文
摘要:
rpm 是红帽(RedHat)软件包管理工具,实现类似于 Windows 中的添加/删除程序功能。下面,就来向大家介绍 rpm 命令的用法。 1. 安装rpm包: rpm -ivh 软件包名 安装软件包并显示安装进度。这个是用得最多的了。 2. 卸载rpm包: 首先通过 rpm -q <关键字> 可 阅读全文
摘要:
1. 集群稳定性的一些问题(一定量数据后集群变得迟钝) https://elasticsearch.cn/question/84 2. ELK 性能(2) — 如何在大业务量下保持 Elasticsearch 集群的稳定 http://www.cnblogs.com/richaaaard/p/611 阅读全文
摘要:
dmesg 时间转换 dmesg 输出的格式不易查看,可以通过命令进行转换。 记录如下: 时间查看: date -d "1970-01-01 UTC `echo "$(date +%s)-$(cat /proc/uptime|cut -f 1 -d' ')+12288812.926194"|bc ` 阅读全文