sh sbin/install.sh 5.如果需要通过Agent连接关系数据库,则需要将对应的驱动(参考 管理驱动)上传至Agent安装目录下的/server/jdbc,并修改同目录下properties文件里对应数据库驱动的版本号。 6.安装完成后,执行如下命令启动Agent。 su Ruby sh sbin/start.sh 7.执行如下命令检查Agent进程是否启动。
主要源码说明: /* The pseudo code to compute Seconds_Behind_Master: 信息来自源码sql...all the available relay log) //当IO thread拉取主库binlog的位置和SQL thread应用的relay log相对于主库binlog的位置相等时