摘要: cpu disk mem import osimport psutilos.chdir(os.getcwd()) #cpu def get_cpu_info(): cpu_percent=psutil.cpu_percent(interval=1) cpu_info="used cpu perenc 阅读全文
posted @ 2019-11-18 16:25 青色蔷薇 阅读(447) 评论(0) 推荐(0) 编辑
摘要: zookeeper的增 删 改 查 watch监听。 from kazoo.client import KazooClient import time,os import timeit os.chdir(os.getcwd()) def connection(): zk=KazooClient('l 阅读全文
posted @ 2019-11-18 16:22 青色蔷薇 阅读(962) 评论(0) 推荐(0) 编辑
摘要: 下载 github:https://github.com/brianfrankcooper/YCSB/releases/tag/0.10.0 wget https://github.com/brianfrankcooper/YCSB/archive/0.10.0.tar.gztar xvf 0.10 阅读全文
posted @ 2019-11-18 15:52 青色蔷薇 阅读(728) 评论(0) 推荐(0) 编辑
摘要: 下载: yum -y install gcc gcc-c++ maven下载地址Github:https://github.com/hortonworks/hive-testbench/git clone https://github.com/hortonworks/hive-testbench/ 阅读全文
posted @ 2019-11-18 11:55 青色蔷薇 阅读(2367) 评论(0) 推荐(0) 编辑