Archiving Event Logs (EventSave) and Uptime.exe

Discussion in 'Windows Server' started by Allan Tee, Mar 17, 2006.

  1. Allan Tee

    Allan Tee Guest

    Hi all!

    We need to know the uptime statistics for our servers per month so
    Uptime.exe is the right tool. Problem is Uptime.exe reads the Event Logs to
    generate uptime statistics and we are using another utility called EventSave
    to archive our Event Logs per day/week depending on the server.

    Is there a freeware tool that would archive event logs but not clear them so
    uptime.exe can generate stats?

    PS. I have found a utility called ECA (from the makers of EventSave utility)
    but its not freeware.
     
    Allan Tee, Mar 17, 2006
    #1
    1. Advertisements

  2. Systeminfo.exe will give you the uptime, and it does not appear to be related
    to the eventlog.

    Systeminfo.exe is built into 2k3 servers and can be executed via script or
    command line. However i am relativley certain that WMI will handle this.
    Ill do a bit of looking on it, but a quick script file or small executable
    should be able to get this for you.

    Post back if you would like further info on the wmi method.
     
    Micah A. Norman, Mar 17, 2006
    #2
    1. Advertisements

  3. Allan Tee

    Allan Tee Guest

    Yes systeminfo.exe has info about uptime of a server. However, i need to
    generate uptime based on event logs because its going to be uptime statistics
    per month for a server. There are reboots, shutdown, BSOD for a server within
    a month and all those should be considered. (So it is imperative that uptime
    statistics be taken from event logs). Try uptime.exe yourself and you'll see
    how detailed it is compared to systeminfo.exe. Thanks for the reply though.
     
    Allan Tee, Mar 17, 2006
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.