https://github.com/lefred/mysql-shell-innotop
Innotop like module in MySQL Shell
https://github.com/lefred/mysql-shell-innotop
Last synced: 12 months ago
JSON representation
Innotop like module in MySQL Shell
- Host: GitHub
- URL: https://github.com/lefred/mysql-shell-innotop
- Owner: lefred
- License: gpl-2.0
- Created: 2018-12-16T21:15:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-05T11:17:42.000Z (over 6 years ago)
- Last Synced: 2025-04-13T19:17:42.655Z (over 1 year ago)
- Language: Python
- Size: 18.6 KB
- Stars: 17
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.session_processlist.run()_
https://youtu.be/QFgSPxZm9CY