Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do u check to see how long Windows 2000 has been up? 2

Status
Not open for further replies.

Blade00

ISP
May 12, 2002
25
0
0
EG
from command type UPTIME. You can also use it to check remote machines

UPTIME, Version 1.00
(C) Copyright 1999, Microsoft Corporation

Uptime [server] [/s ] [/a] [/d:mm/dd/yyyy | /p:n] [/heartbeat] [/? | /help]
server Name or IP address of remote server to process.
/s Display key system events and statistics.
/a Display application failure events (assumes /s).
/d: Only calculate for events after mm/dd/yyyy.
/p: Only calculate for events in the previous n days.
/heartbeat Turn on/off the system's heartbeat
/? Basic usage.
/help Additional usage information.
 
I'm getting an error message:
'uptime' is not recognized as an internal or external command, operable program or batch file.
 
If you do a Ctrl+Alt+Del it tells you when current session started - presume you can work it out from there!
 
Easier solution is to load task manager, select "processes" and see how long "system idle process" has been running.
 
"CONTROL, ALT, DELETE!!!!!!!!!!!!!!!!
TASK MANAGER WILL TELL YOU WHEN YOU LOGGED ON!
 
The question was "How long has Windows been up?".
Not "Idle time" or "Logged on time". One of my W2K boxes shows 27 days 10 hours 37 minutes from uptime.exe (the correct answer). Task Manager shows Idle time of just over 10 hours, and doing control + alt + delete shows I logged on 5 minutes ago.

Blade00, good catch (and a star). Don't know if I would have an ongoing use for uptime.exe, but it is going into my toolbox.

Ed Please let me know if the suggestion(s) I provide are helpful to you.
Sometimes you're the windshield... Sometimes you're the bug.
smallbug.gif
 
Eguy,

Must be something wrong with your Ctrl+Alt+Del!
 
Hi wolluf;

Nope. This was my W2K server which runs 24/7 but with no user logged on. I had logged on just long enough (5 minutes) to load uptime,run it and check task manager.

So, yes ctrl+alt+del showed when my current session started.

Ed

Please let me know if the suggestion(s) I provide are helpful to you.
Sometimes you're the windshield... Sometimes you're the bug.
smallbug.gif
 
Look at your lan connection

double click it, and it display's connection time
 
For others reading this, the uptime file works at the Command Prompt in WinXP also.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top