|
-
Jan 18th, 2000, 10:13 PM
#1
Thread Starter
New Member
machine using VB?
This is assuming performance monitoring is not enabled. I know in Win2K there is a performance monitor registry key that has all this info..
-
Jan 19th, 2000, 01:23 PM
#2
Guru
the GetTickCount API will return the number of milliseconds that Windows has been running. Just do your math from there!
-
Jan 20th, 2000, 04:56 AM
#3
Thread Starter
New Member
I know that.. but that's only valid for 49.7 days... after which it goes back to 0... and I certainly hope our servers stay up for longer than that 
-
Jan 20th, 2000, 05:49 AM
#4
You could write a very simple program which when run at Windows Startup will Make a Registry Entry Marking the Current Date and Time, then at any time you can check this Value in the Registry and calculate your Up Time with no Time Limitation.
I figured something like this was probably already being done, but couldn't find an entry in the Registry.
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|