测速网

首页

观察-观察简介-关于观察的文章在线阅读

[ 观察 ]


  • 观察MySQL进程状态1、测试脚本
    [root@mysql5 ~]# cat proce.sh
    while true
    do
    mysql -uroot -pmysql -e 'show processlist \G'|grep State >> /root/mysql.log
    sleep 1
    done

    2、tail -f
    [ro


    栏目导航