暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

酷炫的时时监控工具-Innotop for MySQL 8 written in Go

innotop在MySQL5.7中,大家可能都用过,但这个是用perl语言开发的,维护比较困难。国外大佬自己鲁了一下go语言版本的,但这个版本只支持MySQL8.0,5.7.X的不支持,这个要注意一下,好了,下面是具体的安装配置过程:

下载:https://github.com/lefred/innotopgo
安装配置:
wget https://github.com/lefred/innotopgo/releases/download/v0.3.1/innotopgo-linux_static-0.3.1.tar.gz
tar xf innotopgo-on;y-for-8.0-linux_static-0.3.1.tar.gz -C /usr/local/
mv /usr/local/innotopgo-linux_static /usr/local/innotopgo

程序运行:
注意:
innotopgo只支持8.0的版本,5.7.版本不支持

[root@node234 local]# ./innotopgo
Usage: innotopgo mysql://<username>:<password>@<host>:3306
[root@node234 local]# /usr/local/innotopgo mysql://root:Rscpass123.@172.16.1.223:3306

Help
Press ? within innotopgo application.


初始化界面:
Main Processlist Screen


帮助命令清单:
│<spacebar> : refresh processlist <backspace> : return to processlist
│<D> : get details of the thread <spacebar> : change format of QEP
│<e> : go to Query Execution Plan (normal, tree, json)
│<K> : kill a query <a> : run EXPLAIN ANALYZE (timeout after 5min)
│<I> : get InnoDB info <A> : run EXPLAIN ANALYZE (no timeout)
│<M> : get Memory info <mouse and arrow keys> : change the focus on section
│<E> : get Error Log Dashboard and browse using the arrow keys
│<L> : get Locking info




D:get details of the thread:


│<e> : go to Query Execution Plan



<I> : get InnoDB info


<M> : get Memory info




「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

文章被以下合辑收录

评论