View Uptime in Windows 2000

starwarsdad

Golden Member
May 19, 2001
1,433
0
0
Is there a command or plug-in to allow me to view uptime in Windows 2000 Server / Pro? My boss and I were talking about how long some of our 2K servers have been up, and now I'm curious to see what uptime really is on these boxes.

They will probably all be getting a reboot in the very near future! I am almost convinced SP3 is not going to hose my production environment.:)

Thanks!
 

dbwillis

Banned
Mar 19, 2001
2,307
0
0
Well on my Citrix server at work, I just type in uptime at a C:> prompt and it tells me...not sure if anyone installed anything specifically to get that to work...
 

ultimatebob

Lifer
Jul 1, 2001
25,134
2,450
126
Here's how I measure uptime on my Windows 2000 Servers at work:

1) Right Click on "My Network Places" and select "Properties"
2) Right Click on the "The Local Area Connection" icon, and select "Properties"
3) Select the "Show Icon in taskbar when connected" checkbox, and click OK. Windows XP also has this feature, but the naming on the checkbox is different.
4) Double Click on the little network icon that just appeared in your system tray.

The window that pops up will show your network uptime, and will display how much data your server has sent and received since it was last rebooted.

Right now, my best server has been up for 155 days straight without a reboot. During that time, it has transmitted 1.45 TB of data, and has received 55 GB of data. Not too shabby for an internal documentation server!
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
It would be more reliable just to get the uptime util from sysinternals or the resource kit. All it really does is count how long since the last bootup entry in the eventlog.
 

mastertech01

Moderator Emeritus Elite Member
Nov 13, 1999
11,875
282
126
Im not running my Win2k AS at the moment, but if memory serves me right it lists uptime in the system information applet from the system tools section.
 

ravana

Platinum Member
Jul 18, 2002
2,149
1
76
SYSTEMINFO | FIND /i "System Up Time"

put this in a file called uptime.bat or something like that and put the file in your C:\Windows (or WinNT) folder and then you can run it just by typing uptime and view the results instead of typing the above line each time.

Hope this helps and works, cuz its been a while since 2k

*edit*
This is what my uptime.bat file looks like:

@echo.
@systeminfo | @find "System Up Time:"
@echo.
@pause

I just added this in cuz if you want to be able to type just "uptime" like I said before and want to look at the uptime before the window closes you need the last line ("@pause") in there. I forget where I originally found this stuff, but anyway here it is for you guys.

R@V@N@
 

oniq

Banned
Feb 17, 2002
4,196
0
0
Originally posted by: ravana
SYSTEMINFO | FIND /i "System Up Time"

put this in a file called uptime.bat or something like that and put the file in your C:\Windows (or WinNT) folder and then you can run it just by typing uptime and view the results instead of typing the above line each time.

Hope this helps and works, cuz its been a while since 2k

Works in XP, takes a little bit just to search to find the information though ;)
 

Utterman

Platinum Member
Apr 17, 2001
2,147
0
71
Originally posted by: ravana
SYSTEMINFO | FIND /i "System Up Time"

put this in a file called uptime.bat or something like that and put the file in your C:\Windows (or WinNT) folder and then you can run it just by typing uptime and view the results instead of typing the above line each time.

Hope this helps and works, cuz its been a while since 2k

*edit*
This is what my uptime.bat file looks like:

@echo.
@systeminfo | @find "System Up Time:"
@echo.
@pause

I just added this in cuz if you want to be able to type just "uptime" like I said before and want to look at the uptime before the window closes you need the last line ("@pause") in there. I forget where I originally found this stuff, but anyway here it is for you guys.

R@V@N@

Thanks, that's a really cool thing :)