We teamed up with SiteGround
To bring you up to 65% off web hosting, plus free access to the entire SitePoint Premium library (worth $99). Get SiteGround + SitePoint Premium Now

This handy little utility was passed on to me by a developer friend and it works much like the standard Linux ‘top’ command does.

MyTop, developed and administered by Jeremy Zawodny, runs from the command line and provides performance monitoring for MySQL server itself and queries/threads executing.

The tool requires just a few Perl modules that dress it up a bit — such as Term::ANSIColor to see the terminal session in color, and Time::HiRes for real-time query/second stats.

It supports numerous Unix-based systems, including Mac OS X, FreeBSD and also has some Windows support (under ActiveState Perl).