SERVER REBOOT REPORT

  • Is there any way to know how many times server has been rebooted in last 6 months?

    plz help..

  • Only way that I know is to check old SQL Server’s error logs and\or event viewer logs from that time frame.

    Adi

    --------------------------------------------------------------
    To know how to ask questions and increase the chances of getting asnwers:
    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    For better answers on performance questions, click on the following...
    http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

  • One of the options to get thro by OS level, log would capture in the MMC (Microsoft management console), in the event viewer, unless the disk clean up activity, the records not cleared.. Try with this event logs.

  • Is there any SQL command to read system event logs?

    if It would help me create reboot report.

  • Hi,

    There is no direct commends in the SQL to call the system event log file, you export the event log files to the local drive as a text file then you use the text file to sql table/reports.

  • Even i was also thinking the same way,however i got stuck to implement this process as automated...

    is it possible to export the event log to txt file automatically?

  • You can write power shell scripts to read from event log using WMI. There are samples out there and you can search for them

    -Roy

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply