Site icon Leonid Mamchenkov

Finding uptime on Windows 2000 machines

I tried to check the uptime on some of our Windows 2000 servers, but discovered that there is no such command. Neither there is utime or anything alike. Puzzled I turned to Google and found this article.

In short, I had to issue net statistics server command. The first line of the result says something like “Statistics since ” and than provides the date and time the machine was started. Figuring how much time has passed since that date is trivial with Perl and Date::Calc module.

Exit mobile version