Hi,

I like to know if there is a way I can find the uptime of a server

I am using windows 2003 server

sajan

Re: Up time of server by Dave

Dave
Fri Mar 11 13:57:57 CST 2005

If this is SBS, in the Server Management Console, click Monitoring and
Reporting. The information is on the Server Performance Report.

For plain WS03, you should see an event similar to the following in your
event log, every day at noon. Speaking for myself, I find knowing the
uptime in seconds slightly less convenient than some larger time increments
: -)

Event Type: Information
Event Source: EventLog
Event Category: None
Event ID: 6013
Date: 3/11/2005
Time: 12:00:06 PM
User: N/A
Computer: XXXXXX
Description:
The system uptime is 1118968 seconds.


"saj" <saj@discussions.microsoft.com> wrote in message
news:37C44EA6-8DB6-4FB4-BF9F-279C642F95C2@microsoft.com...
> Hi,
>
> I like to know if there is a way I can find the uptime of a server
>
> I am using windows 2003 server
>
> sajan



Re: Up time of server by BoboTWG

BoboTWG
Fri Mar 11 14:30:43 CST 2005

That is a silly way of doing things. If I need the up time in seconds then
it just plain ain't working.

Aaron

"Dave Nickason [SBS MVP]" <gwdibble@NOSPAM.frontiernet.net> wrote in message
news:eVHngSnJFHA.588@TK2MSFTNGP15.phx.gbl...
> If this is SBS, in the Server Management Console, click Monitoring and
> Reporting. The information is on the Server Performance Report.
>
> For plain WS03, you should see an event similar to the following in your
> event log, every day at noon. Speaking for myself, I find knowing the
> uptime in seconds slightly less convenient than some larger time
increments
> : -)
>
> Event Type: Information
> Event Source: EventLog
> Event Category: None
> Event ID: 6013
> Date: 3/11/2005
> Time: 12:00:06 PM
> User: N/A
> Computer: XXXXXX
> Description:
> The system uptime is 1118968 seconds.
>
>
> "saj" <saj@discussions.microsoft.com> wrote in message
> news:37C44EA6-8DB6-4FB4-BF9F-279C642F95C2@microsoft.com...
> > Hi,
> >
> > I like to know if there is a way I can find the uptime of a server
> >
> > I am using windows 2003 server
> >
> > sajan
>
>



Re: Up time of server by Pablo

Pablo
Fri Mar 11 15:22:36 CST 2005

Use this script:

Set dtmConvertedDate =
CreateObject("WbemScripting.SWbemDateTime")strComputer = "."Set
objWMIService = GetObject("winmgmts:" _ &
"{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")Set
colOperatingSystems = objWMIService.ExecQuery _ ("Select * from
Win32_OperatingSystem")For Each objOS in colOperatingSystems
dtmConvertedDate.Value = objOS.LastBootUpTime dtmLastBootUpTime =
dtmConvertedDate.GetVarDate dtmSystemUptime = DateDiff("d",
dtmLastBootUpTime, Now) Wscript.Echo dtmSystemUptime Next
--
Pablo Vernocchi
pablo@nospam.pcoffice.com.ar
Buenos Aires, Argentina
"BoboTWG" <aaron.nospam@excite.com> escribió en el mensaje
news:TdnYd.8588$DW.7385@newssvr17.news.prodigy.com...
> That is a silly way of doing things. If I need the up time in seconds then
> it just plain ain't working.
>
> Aaron
>
> "Dave Nickason [SBS MVP]" <gwdibble@NOSPAM.frontiernet.net> wrote in
> message
> news:eVHngSnJFHA.588@TK2MSFTNGP15.phx.gbl...
>> If this is SBS, in the Server Management Console, click Monitoring and
>> Reporting. The information is on the Server Performance Report.
>>
>> For plain WS03, you should see an event similar to the following in your
>> event log, every day at noon. Speaking for myself, I find knowing the
>> uptime in seconds slightly less convenient than some larger time
> increments
>> : -)
>>
>> Event Type: Information
>> Event Source: EventLog
>> Event Category: None
>> Event ID: 6013
>> Date: 3/11/2005
>> Time: 12:00:06 PM
>> User: N/A
>> Computer: XXXXXX
>> Description:
>> The system uptime is 1118968 seconds.
>>
>>
>> "saj" <saj@discussions.microsoft.com> wrote in message
>> news:37C44EA6-8DB6-4FB4-BF9F-279C642F95C2@microsoft.com...
>> > Hi,
>> >
>> > I like to know if there is a way I can find the uptime of a server
>> >
>> > I am using windows 2003 server
>> >
>> > sajan
>>
>>
>
>



Re: Up time of server by Wei-Yen

Wei-Yen
Sun Mar 13 17:24:28 CST 2005



Hello saj,

there is a utility (from Windows NT days) called uptime.exe. It works well.
just stick it into your windows directory and go into a dos prompt and then
type uptime.

The url is below

http://www.microsoft.com/technet/archive/winntas/downloads/uptime.mspx

HTH

WY
> Hi,
>
> I like to know if there is a way I can find the uptime of a server
>
> I am using windows 2003 server
>
> sajan
>