线上用lvs做负载均衡,最近发现几台机器有些时间段经常被踢出,写了个python脚本用来做简单的端口和ping检测import os,socket,time
import threading
def check_port(host,port):
s = None
for res in socke...
运行中的mysql状态查看对正在运行的mysql进行监控,其中一个方式就是查看mysql运行状态。 (1)QPS(每秒Query量) QPS = Questions(or Queries) / seconds mysql > show global status like 'Question%'...