Find the answer to your Linux question:
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 ...
  1. #1
    Just 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.

  2. #2
    Linux Guru Rubberman's Avatar
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...