Results 1 to 2 of 2
hi,
Is there any way to find out using perl or command line when was the service stopped. Like if the mysql service was stopped. I would like to know ...
- 05-07-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 7
Find when the service was stopped in CentOS
hi,
Is there any way to find out using perl or command line when was the service stopped. Like if the mysql service was stopped. I would like to know when(time) has it stopped working.
- 05-08-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Check for the mysql logs in /var/log. If they are there, it should have logged when it has been started and stopped, at least with the "service start" and "service stop" commands, or on system startup/shutdown.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote