MySQL Programming Question:

How To Check Server Status with "mysqladmin"?

Tweet Share WhatsApp

Answer:

If you want to check the server status by with "mysqladmin", you can following this tutorial example:

>cd mysqlin
>mysqladmin -u root status
Uptime: 223 Threads: 1 Questions: 1 Slow queries: 0
Opens: 12 Flush tables: 1 Open tables: 6
Queries per second avg: 0.004

The returning message indicates that the server is almost doing nothing at this moment.

Download MySQL Programming PDF Read All 110 MySQL Programming Questions
Previous QuestionNext Question
What Is "mysqladmin" in MySQL?How To Shut Down the Server with "mysqladmin"?