https://blog.****.net/oujiangping/article/details/78580450
https://blog.****.net/gatieme/article/details/78885908
ps aux|grep mysql-proxy
第二个就是3318的进程号
perf record -p -F -a -g -- sleep perf script > out.perf ./stackcollapse-perf.pl out.perf > out.folded ./flamegraph.pl out.folded > test.svg
sysbench --test=/usr/share/sysbench/tests/include/oltp_legacy/oltp.lua --mysql-host=10.17.90.37 --mysql-port= --mysql-user=test --mysql-password= --mysql-db=test --oltp-table-size= --oltp-tables-count= --threads= --oltp-read-only=on --report-interval= --rand-type=uniform --max-requests= --percentile= --oltp-skip-trx=on --time= --db-driver=mysql run