This is a Innotop like Python module for MySQL Shell.
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()