Guest Steve Posted August 7, 2007 Posted August 7, 2007 I have servers that get rebooted on a weekly basis, it is now my task to confirm that the servers did in deed reboot. Now I just got this task and I'm no server admin, so how can I tell if a server did actaully reboot or not?
Guest Pegasus \(MVP\) Posted August 7, 2007 Posted August 7, 2007 Re: server reboot "Steve" <Steve@community.nospam.com> wrote in message news:%23ETT$IP2HHA.5740@TK2MSFTNGP04.phx.gbl... I have servers that get rebooted on a weekly basis, it is now my task to confirm that the servers did in deed reboot. Now I just got this task and I'm no server admin, so how can I tell if a server did actaully reboot or not? ================ Run this command from a Command Prompt: net statistics server It will tell you how long the server has been running.
Guest Steve Posted August 7, 2007 Posted August 7, 2007 Re: server reboot Ok thanks, is there anything in the event viewer I can look at as well to tell me of the server rebooted? what i'm doing is creating a utility to allow some folks to look at the status of servers (database servers and windows server) to get stats on them, such as when and if it rebooted, SQL jobss, etc. so if there is something I can read in the eventviewer for this, that would be better then having to log into 15 or so servers to determine if they rebooted or not every week. "Pegasus (MVP)" <I.can@fly.com> wrote in message news:%23Vc0bkP2HHA.484@TK2MSFTNGP06.phx.gbl... > > "Steve" <Steve@community.nospam.com> wrote in message > news:%23ETT$IP2HHA.5740@TK2MSFTNGP04.phx.gbl... > I have servers that get rebooted on a weekly basis, it is now my task to > confirm that the servers did in deed reboot. Now I just got this task and > I'm no server admin, so how can I tell if a server did actaully reboot or > not? > > ================ > > Run this command from a Command Prompt: > > net statistics server > > It will tell you how long the server has been running. >
Guest Pegasus \(MVP\) Posted August 7, 2007 Posted August 7, 2007 Re: server reboot There are several events clearly visible in the event viewer that show when a server rebooted. However, a far simpler method to compile stats is to use the Task Scheduler on each server to invoke the following batch file: @echo off echo %date% %time% %ComputerName% Reboot >> \\CentralServer\SomeShare\%ComputerName%.log (the second line is one single long line!) Now get your technicians to examine these log files each day. Very quick, very convenient! "Steve" <Steve@community.nospam.com> wrote in message news:uPR23pP2HHA.1124@TK2MSFTNGP06.phx.gbl... > Ok thanks, is there anything in the event viewer I can look at as well to > tell me of the server rebooted? > > what i'm doing is creating a utility to allow some folks to look at the > status of servers (database servers and windows server) to get stats on > them, such as when and if it rebooted, SQL jobss, etc. so if there is > something I can read in the eventviewer for this, that would be better > then having to log into 15 or so servers to determine if they rebooted or > not every week. > > "Pegasus (MVP)" <I.can@fly.com> wrote in message > news:%23Vc0bkP2HHA.484@TK2MSFTNGP06.phx.gbl... >> >> "Steve" <Steve@community.nospam.com> wrote in message >> news:%23ETT$IP2HHA.5740@TK2MSFTNGP04.phx.gbl... >> I have servers that get rebooted on a weekly basis, it is now my task to >> confirm that the servers did in deed reboot. Now I just got this task and >> I'm no server admin, so how can I tell if a server did actaully reboot or >> not? >> >> ================ >> >> Run this command from a Command Prompt: >> >> net statistics server >> >> It will tell you how long the server has been running. >> > >
Guest Chris Posted August 7, 2007 Posted August 7, 2007 Re: server reboot As another thought i use bginfo in the startup menu. You can quickly see the server boot time from this. hth Chris "Steve" <Steve@community.nospam.com> wrote in message news:%23ETT$IP2HHA.5740@TK2MSFTNGP04.phx.gbl... I have servers that get rebooted on a weekly basis, it is now my task to confirm that the servers did in deed reboot. Now I just got this task and I'm no server admin, so how can I tell if a server did actaully reboot or not?
Guest John Toner [MVP] Posted August 7, 2007 Posted August 7, 2007 Re: server reboot In the eventviewer, you can look at the EventLog events. These typically will tell you when a server goes down (Eventlog server stopped) and when the server is back up (EventLog service started). You could also use uptime.exe to accomplish this. See the following for KB for details: http://support.microsoft.com/kb/232243 Regards, John Visit my blog: http://msmvps.com/blogs/jtoner "Steve" <Steve@community.nospam.com> wrote in message news:uPR23pP2HHA.1124@TK2MSFTNGP06.phx.gbl... > Ok thanks, is there anything in the event viewer I can look at as well to > tell me of the server rebooted? > > what i'm doing is creating a utility to allow some folks to look at the > status of servers (database servers and windows server) to get stats on > them, such as when and if it rebooted, SQL jobss, etc. so if there is > something I can read in the eventviewer for this, that would be better then > having to log into 15 or so servers to determine if they rebooted or not > every week. > > "Pegasus (MVP)" <I.can@fly.com> wrote in message > news:%23Vc0bkP2HHA.484@TK2MSFTNGP06.phx.gbl... > > > > "Steve" <Steve@community.nospam.com> wrote in message > > news:%23ETT$IP2HHA.5740@TK2MSFTNGP04.phx.gbl... > > I have servers that get rebooted on a weekly basis, it is now my task to > > confirm that the servers did in deed reboot. Now I just got this task and > > I'm no server admin, so how can I tell if a server did actaully reboot or > > not? > > > > ================ > > > > Run this command from a Command Prompt: > > > > net statistics server > > > > It will tell you how long the server has been running. > > > >
Guest Steve Posted August 8, 2007 Posted August 8, 2007 Re: server reboot bgInfo?? what's that? Do you run that from the command line? "Chris" <nospam@email.com> wrote in message news:%230lh2bR2HHA.2064@TK2MSFTNGP03.phx.gbl... As another thought i use bginfo in the startup menu. You can quickly see the server boot time from this. hth Chris "Steve" <Steve@community.nospam.com> wrote in message news:%23ETT$IP2HHA.5740@TK2MSFTNGP04.phx.gbl... I have servers that get rebooted on a weekly basis, it is now my task to confirm that the servers did in deed reboot. Now I just got this task and I'm no server admin, so how can I tell if a server did actaully reboot or not?
Guest Chris Posted August 8, 2007 Posted August 8, 2007 Re: server reboot http://www.microsoft.com/technet/sysinternals/Miscellaneous/BgInfo.mspx "Steve" <Steve@community.nospam.com> wrote in message news:ehpQ%23Db2HHA.3640@TK2MSFTNGP06.phx.gbl... bgInfo?? what's that? Do you run that from the command line? "Chris" <nospam@email.com> wrote in message news:%230lh2bR2HHA.2064@TK2MSFTNGP03.phx.gbl... As another thought i use bginfo in the startup menu. You can quickly see the server boot time from this. hth Chris "Steve" <Steve@community.nospam.com> wrote in message news:%23ETT$IP2HHA.5740@TK2MSFTNGP04.phx.gbl... I have servers that get rebooted on a weekly basis, it is now my task to confirm that the servers did in deed reboot. Now I just got this task and I'm no server admin, so how can I tell if a server did actaully reboot or not?
Recommended Posts