MySQL Programming Question:
How To Check Server Status with "mysqladmin"?
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.
>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.
Previous Question | Next Question |
What Is "mysqladmin" in MySQL? | How To Shut Down the Server with "mysqladmin"? |