1、编写监控主从SHELL脚本check_mysql_replication.sh,放在/etc/zabbix/下面#!/bin/bash/usr/bin/mysql-uzabbix-p密码-e‘showslavestatus\G‘|grep-E"Slave_IO_Running|Slave_SQL_Running"|awk‘{print$2}‘|grep-cYes2、在从库上授权zabbix用户:grantreplicationclienton*.*to‘z..
分类:
数据库 时间:
2015-09-25 04:07:29
阅读次数:
364
使用yum安装计划任务功能,结果提示:# yum -y install vixie-cron
Loaded plugins: fastestmirror, refresh-packagekit, security
Existing lock /var/run/yum.pid: another copy is running as pid 25960.
Another app is currently...
分类:
移动开发 时间:
2015-09-24 16:40:04
阅读次数:
194
【问题描述】在部署一个Market Risk Limit Server服务的时候,在summit SMT中启动后,running一会儿自己就挂掉了【解决方法】首先检查一下这个服务对应的xml配置文件,在部分,,查看value是否为空,如果为空的话,就需要填写SMT中相对应的ETKManager服务名...
分类:
其他好文 时间:
2015-09-24 12:30:43
阅读次数:
155
水A - Kefa and First Steps/************************************************* Author :Running_Time* Created Time :2015/9/23 星期三 00:19:33* File N...
分类:
其他好文 时间:
2015-09-23 18:58:57
阅读次数:
231
there are mutliple ways to describle this issue1. crontab not running2. crontab not running and not giving error in cron log3. crontab not running at ...
分类:
其他好文 时间:
2015-09-23 18:51:48
阅读次数:
164
概述:用 'top -i' 看看有多少进程处于 Running 状态,可能系统存在内存或 I/O 瓶颈,用 free 看看系统内存使用情况,swap 是否被占用很多,用 iostat 看看 I/O 负载情况...还有一种办法是 ps -ef | sort -k7 ,将进程按运行时间排序,看哪个进程消...
分类:
系统相关 时间:
2015-09-23 01:06:56
阅读次数:
222
怎么安装 配置就不说了最简单的连接方式connect('127.0.0.1', 6379); echo "Connection to server sucessfully"; //check whether server is running or not echo "Server is...
分类:
Web程序 时间:
2015-09-22 18:46:10
阅读次数:
206
系统中缺少一个lib库 libz.so.1文件,使用yum安装会自动找到相关的rpm包,如下命令 # yum -y install libz.so.1 Resolving Dependencies --> Running transaction check ---> Package zlib.i686 0:1.2.3-29.el6 ...
分类:
其他好文 时间:
2015-09-22 11:36:09
阅读次数:
194
Your database is running in ARCHIVELOG mode. You have been taking backups of all the data files
and control files regularly.你的数据库运行在归档模式,并且定期备份了所有的数据文件和控制文件。
You are informed that some important tabl...
分类:
其他好文 时间:
2015-09-21 17:57:40
阅读次数:
152
Class类(在java.lang包中,Instances of the class Classrepresent classes and interfaces in a running Javaapplication):在Java中,每个class都有一个相应的Class对象。也就是说,当我们编写...
分类:
编程语言 时间:
2015-09-21 12:00:26
阅读次数:
146