dbmon.pl A simple script to monitor MySQL queries and log them into a file for future processing. Optionally will kill long-running queries. There are a couple of supporting scripts: listQueries.py If you want to process the logs for long-running queries. getServerIndexes.pl This will go through the SQL logs from dbmon.pl, do EXPLAINs on the queries it finds, then determine a list of tables and in