How to find out mysql uptime

This guide explains you how to check the mysql database uptime.

mysqladmin -u root -p -h hostname version

For example : # mysqladmin -u root -p -h localhost version

 

Mysql Server status variables

You can also use mysql server status variables to check the mysql uptime

# show global status

 

Use \s; to check the mysql uptime

 

Reference: http://linuxinternetworks.com/server/mysql/how-to-find-out-mysql-uptime/

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s