Would you like to learn how to show the Mysql process list on the command-line every second? In this tutorial, we are going to show you how to monitor the MySQL process list using the command-line on a computer running Ubuntu Linux.

• Ubuntu 18.04
• Ubuntu 19.04
• Ubuntu 20.04
• MySQL 8.0.18

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Tutorial MySQL – Showing the Process list

Access the MySQL command-line.

Copy to Clipboard

Show the MySQL process list manually.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

To show the MySQL process list every second, use the following command on the Linux command-line.

Copy to Clipboard

Enter the MySQL ROOT password.

Copy to Clipboard

The MySQL process list will be printed on the Screen every second.

Copy to Clipboard

Congratulations! You are able to monitor the MySQL process list using the command-line.