Not clock but elapsed timer...

  • Thread starter Thread starter technomaNge
  • Start date Start date
T

technomaNge

I have a problematic Windows 2000 server that seemingly shuts
it self down at will. So I'm trying to find an elapsed timer
or stopwatch kinda program to run on it. Time since boot may
help me figure this one out.

Google gives indeterminate results.

Any ideas for an elapsed timer program?


technomaNge
 
technomaNge said:
I have a problematic Windows 2000 server that seemingly shuts
it self down at will. So I'm trying to find an elapsed timer
or stopwatch kinda program to run on it. Time since boot may
help me figure this one out.

Google gives indeterminate results.

Any ideas for an elapsed timer program?

An elapsed timer that does what? Writes it's start time and continous
times to the event logs or a file?

You did not say if the server is rebooting itself or is just shutting
down, and whether or not the server was doing a hard shut-down (hard
crash), or just shuting itself down and properly closing running programs.

Normally, when a machine like yours shuts down, there is an entry in the
event logs for the Event Log service (a service stopped entry). That
entry will tell you at what time the server shutdown.
 
BarryTone said:
An elapsed timer that does what? Writes it's start time and continous
times to the event logs or a file?

You did not say if the server is rebooting itself or is just shutting
down, and whether or not the server was doing a hard shut-down (hard
crash), or just shuting itself down and properly closing running programs.

Normally, when a machine like yours shuts down, there is an entry in the
event logs for the Event Log service (a service stopped entry). That
entry will tell you at what time the server shutdown.
Thanks for the info, I'll check.

I meant a display of time-since-boot. Never occurred to me to ask for
a log file. All I see mornings when the server has quit overnite is the
Press Control Alt Delete screen. I still don't know if it is rebooting
or just logging out the Admin user.

Your answer may tell me something about both possibilities.

technomaNge
 
technomaNge said:
Thanks for the info, I'll check.

I meant a display of time-since-boot. Never occurred to me to ask for
a log file. All I see mornings when the server has quit overnite is the
Press Control Alt Delete screen. I still don't know if it is rebooting
or just logging out the Admin user.

Your answer may tell me something about both possibilities.

When a reboot occurs, there is always the Event Log service entries that
are the very last and first entries. One will say "The Event Log service
has ended" and the other "The Event Log service has started". There is
also psuptime from sysinternals that you can use.

I suspect though, that the machine is logging out of the session. In
that case, a timer or a continuously looping script running in the
session can give you info. If you are any good at scripting, you could
use vbscript or whatever...

If it's a terminal services session, then check the Terminal Services
Configuration (control panel, Administrative tools). There are settings
for how long TS sessions can run.
 
[snip]
I meant a display of time-since-boot. Never occurred to me to ask for
a log file. All I see mornings when the server has quit overnite is the
Press Control Alt Delete screen. I still don't know if it is rebooting
or just logging out the Admin user.



Use this tool: http://www.sysinternals.com/ntw2k/freeware/psinfo.shtml as
the 1st bit of infor it gives you is the uptime since last bootup.

Karen
http://scootgirl.com/

PS: here's an example of mine:

C:\>psinfo

PsInfo v1.62 - Local and remote system information viewer
Copyright (C) 2001-2004 Mark Russinovich
Sysinternals - www.sysinternals.com

System information for \\LADYBUG:
Uptime: 0 days 5 hours 59 minutes 9 seconds
Kernel version: Microsoft Windows XP, Uniprocessor Free
Product type: Professional
Product version: 5.1
Service pack: 2
Kernel build number: 2600
Registered organization: None
Registered owner: None
Install date: 9/11/2004, 10:06:08 AM
Activation status: Activated
IE version: 6.0000
System root: C:\WINDOWS
Processors: 1
Processor speed: 1.1 GHz
Processor type: AMD Athlon(tm) XP
Physical memory: 1024 MB
Video driver: RADEON 8500 Family (Microsoft Corporation)
 
scootgirl.com said:
[snip]
I meant a display of time-since-boot. Never occurred to me to ask for
a log file. All I see mornings when the server has quit overnite is the
Press Control Alt Delete screen. I still don't know if it is rebooting
or just logging out the Admin user.


Karen, thanks to you and BarryTone, I think I can suss this one.


technomaNge
 
scootgirl.com said:
[snip]
I meant a display of time-since-boot. Never occurred to me to ask for
a log file. All I see mornings when the server has quit overnite is the
Press Control Alt Delete screen. I still don't know if it is rebooting
or just logging out the Admin user.


Karen, thanks to you and BarryTone, I think I can suss this one.


technomaNge

Windows Uptime

http://www.webattack.com/get/winuptime.shtml


Bye for now.

Clive.
 
Message-ID said:
scootgirl.com said:
[snip]

I meant a display of time-since-boot. Never occurred to me to ask for
a log file. All I see mornings when the server has quit overnite is the
Press Control Alt Delete screen. I still don't know if it is rebooting
or just logging out the Admin user.


Karen, thanks to you and BarryTone, I think I can suss this one.


technomaNge

Windows Uptime

http://www.webattack.com/get/winuptime.shtml


Bye for now.

Clive.

Link doesn't work. Going to http://www.rundegren.com/ (the author's
page,) it states the following:

"June 10, 2004"
"Windows Uptime and Quick Bench has on this date been
discontinued to leave room for development on our more
popular commercial products."

Googled for it elsewhere and the DL links all seem to point to
Rundegren.com, unfortunately. (SIGH!)

I did find what looks to be a comparable freeware program at:

http://www.lockbyte.com/products.html

Scroll down for "WINDOWS UPTIME 1.1" (387kb.) A standalone "no
install" executable. Should work on most/all Win versions.

Ron M.
 
Back
Top