Discussion:
Uptime.exe utility from Microsoft
(too old to reply)
andespoint
2004-02-21 15:05:40 UTC
Permalink
Hi Guys,

Does anyone use the uptime utility from Microsoft? Below is a description
of what it does. I can run this on most of my servers, but there are some
that I get the following message on - UPTIME was unable to connect to host:
\\servername just want to know if I need a certain service running for this
app to work.

Thanks for the help.
Uptime.exe, a standalone program, is available for displaying system
availability. Uptime.exe can be used to display the current uptime of the
local or remote system. Optionally, it can also scan the Event log for key
system events such as system restart or computers that are not responding
(hanging). Where possible, it also calculates system availability. It is
primarily intended for Windows NT Server 4.0 Service Pack 4 or later, though
it operates in limited fashion on earlier versions.
--
----------------------------------------------------
This mailbox protected from junk email by Matador
from MailFrontier, Inc. http://info.mailfrontier.com
Jerold Schulman
2004-02-23 14:29:02 UTC
Permalink
Post by andespoint
Hi Guys,
Does anyone use the uptime utility from Microsoft? Below is a description
of what it does. I can run this on most of my servers, but there are some
\\servername just want to know if I need a certain service running for this
app to work.
Thanks for the help.
Uptime.exe, a standalone program, is available for displaying system
availability. Uptime.exe can be used to display the current uptime of the
local or remote system. Optionally, it can also scan the Event log for key
system events such as system restart or computers that are not responding
(hanging). Where possible, it also calculates system availability. It is
primarily intended for Windows NT Server 4.0 Service Pack 4 or later, though
it operates in limited fashion on earlier versions.
Make sure that the heartbeat is enabled. If the heartbeat is disabled, UpTime
may report that the event logs do not contain sufficient information to
calculate system availability. UpTime detects an abnormal shutdown but cannot
determine how long the system was down during this abnormal outage. An abnormal
shutdown can be caused by a Stop error (also known as a "blue screen") or a
power failure.

Because the heartbeat is generally written every five minutes, the amount of
downtime calculated for abnormal outages is limited in accuracy by this
interval.

To enable the heartbeat, type the following at the command line:

uptime /heartbeat

You may see the following output:

The system heartbeat is a timestamp written to the registry at a fixed
interval. This timestamp is used by UPTIME to calculate how long a system was
down when it fails to go through a normal shutdown. Using this heartbeat
may interfere with power management since it writes to the disk at regular
intervals. Therefore the system heartbeat should not normally be used on a
laptop.

NOTE: Any change to the heartbeat settings will not take effect until the next
reboot.

The system heartbeat is NOT currently enabled.
Would you like to enable the heartbeat on this system? (Y/N):
If you want to enable the system heartbeat, type y and press ENTER. You will
then see the following message:

The system heartbeat will be enabled the next time the system is restarted.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com

Loading...