Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Uptime on NT4 workstation

Posted on 2002-03-05
6
Medium Priority
?
945 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 300 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
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

715 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