Solved

Uptime on NT4 workstation

Posted on 2002-03-05
6
930 Views
Last Modified: 2013-12-28
How can I tell how long my NT4 workstation has been up ?

I am a Unix Admin, and in unix there is a command 'uptime'.

Thanks
0
Comment
Question by:garyphipps
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 10

Expert Comment

by:AndresM
ID: 6841695
In task manager, the System Idle Process shows shows it CPU Time.
That is the only process that is running since the startup of the machine and never stops, so that time is showing how long the workstation has been up.
Hope this helps.
0
 
LVL 96

Accepted Solution

by:
Lee W, MVP earned 75 total points
ID: 6841834
AndresM is not quite correct.  While system idle process is the only process certain to be up all the time, it's time is only that for which the CPU has been idle.  If, for example, you ran SETI@HOME and your system was on for 42 hours, your system idle process might only say 20 minutes, because seti has used 40 hours and the rest of the system processes used 1:40.

The most effective way (and arguably the most reliable) is by typing "net statistics workstation | more".  Also, substituting server for workstation will work as well.  What this does is tell you when the workstation (or server) service last started.

There are various freeware and shareware utilities as well that are supposed to give "uptime" values, but without knowing how they determine that, it's difficult to be certain how accurate they are.  Given workstation and server services are RARELY restarted by themselves, they are reasonably accurate representations of uptime.

0
 
LVL 10

Expert Comment

by:AndresM
ID: 6842016
leew , thanks for your correction, and garyphipps, sorry for my erroneus comment....

This may help:
Uptime.exe Tool Allows You to Estimate Server Availability with Windows NT 4.0 SP4 or Higher (Q232243)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q232243
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 11

Expert Comment

by:griessh
ID: 6842117
You can find a uptime command line tool at:
http://mrdo.com/archive.htm

The source code is included. It uses the number of milliseconds of the tick counter. This counter starts at 0 when you start your system.

======
Werner
0
 
LVL 86

Expert Comment

by:jkr
ID: 6842348
My recommendation is the pstools suite from http://www.sysinternals.com/ntw2k/freeware/pstools.shtml - it came with PsUptime (now apparently part of PsInfo), and the other tools are definitely a "must have"...
0
 

Author Comment

by:garyphipps
ID: 6843739
"et statistics workstation | more" is exactly what I wanted.

Thanks,
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question