lefred / mysql-shell-innotop

Innotop like module in MySQL Shell
GNU General Public License v2.0
17 stars 4 forks source link

MySQL Shell Innotop

This is a Innotop like Python module for MySQL Shell.

How to use it:

 mysqlsh --py root@localhost

 import sys
 sys.path.append('/home/fred/workspace/mysql-shell-innotop')
 import innotop

 innotop.session_processlist.run()

It's also possible to add some steps in ~/.mysqlsh/mysqlshrc.py:

 import sys
 sys.path.append('/home/fred/workspace/mysql-shell-innotop')
 import innotop

and then in the Shell, just call _innotop.sessionprocesslist.run()

https://youtu.be/QFgSPxZm9CY