Overview

In MySQL we can monitor the MysQL sessions and processes as follows:

Using SQL

Monitor connected threads

Monitor sessions

Using a query

We can also monitor pass each queries as follows:

List of old queries