2019年4月22日
摘要: cat oracle_status_output.py from prometheus_client import Gauge,start_http_serverimport randomimport subprocessimport timeimport cx_Oracle class Oracl 阅读全文
posted @ 2019-04-22 14:44 xibuhaohao 阅读(177) 评论(0) 推荐(0) 编辑
摘要: cat mysql_status_output.py #coding=utf-8import jaydebeapiimport sysimport pymysqlimport osfrom prometheus_client import Gauge,start_http_serverimport 阅读全文
posted @ 2019-04-22 14:42 xibuhaohao 阅读(175) 评论(0) 推荐(0) 编辑
摘要: cat mysql_init.sh##安装mariadb依赖包function install_yum(){ yum -y install $1}i="ncurses* bison gcc* screen make gcc-c++ cmake bison-devel ncurses-devel li 阅读全文
posted @ 2019-04-22 10:07 xibuhaohao 阅读(259) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash####安装Oracle所需依赖包function install_yum(){ yum -y install $1} i="perl-Data-Dumper lvm2* unzip rlwrap screen binutils binutils-devel compat-db 阅读全文
posted @ 2019-04-22 10:06 xibuhaohao 阅读(306) 评论(0) 推荐(0) 编辑