copy all files to your folder $HOME/itop/
run: $HOME/itop/itop (better put it in $PATH)
tested on centos 7 and 8
to pull a query detail: $HOME/itop 1 (or 2 3, or the id )
to pull very long queries: $HOME/itop/q "show full processlist" > qlistdump.txt
source: https://github.com/jwang628/itop
contact: jwang25610@gmail.com