With recent version of mysql (for instance dev-db/mysql-5.0.84-r1), mtop does not show correct number of queries per second (QPS). It seems that mtop uses "show status" to count number of queries, which counts the number of queries in the connection. To have the global number of queries, I use "show global status". I have build a small patch that fixes that problem : http://cyril.me/ebuild/dev-db/mtop/ Reproducible: Always Steps to Reproduce: 1. Install a recent version of mysql (like mysql-5.0.84-r1) 2. Install mtop-0.6.6 3. Run mtop. Actual Results: QPS will be between 0 and 2. Expected Results: QPS should represent the number of queries per second for the mysql server, not the number of queries per second for the current mysql connection.
InCVS.
Thanks for solving the problem. I did not know about mytop, I'll try it.