How can I monitor what my MySQL server is doing?

A handy little Linux application called mytop fits this just perfectly. This is a near-time monitor just like the UNIX utility 'top' that specifically looks at what the MySQL server is doing. It updates every few seconds so you can get a reasonable look at your SQL performance. It's capable of displaying a huge amount of information so be sure to read the documentation. It also assumes that you're connecting to the MySQL server on localhost with the root user and no password. These can be changed either in the script itself or on the command line.

  • Email, SSL
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

MySQL Optimization / Repair Information

How MySQL Uses MemoryThis page lists some of the ways that the mysqld server uses memory, and...

Securing MySQL

Due to differing needs and requirements this is difficult to answer except on a case by case...

How to reset a mySQL password?

If you have lost your root user password for MySQL, you can reset it with the following...

Mysql Basic Commands

[mysql dir]/bin/mysql -h hostname -u root -p Create a database on the sql server. create...

Repairing MySQL tables that will not open

This should be handled on a case by case basis, but if you are using the default MySQL table type...