Created
July 3, 2013 16:51
-
-
Save hub-cap/5920403 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #first get the pid | |
| sudo cat /var/run/mysqld/mysqld.pid | |
| 9036 | |
| #then make sure its in proc | |
| -d /proc/9036/ | |
| # If we always do this, we can stop running the mysql ping's and just check /proc/PID to make sure its still running every X seconds when we do the pingcheck. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment