Home » Questions » Computers [ Ask a new question ]

Uptime program compatible with Windows 7?

Uptime program compatible with Windows 7?

I'd like to get the uptime of my computer, and also power events, like when the computer goes to sleep and when it's waking up. Bonus points if it tells why it's waking up: scheduled task, user interaction, magic packet, ...

Asked by: Guest | Views: 336
Total answers/comments: 2
Guest [Entry]

"Mark Russinovich of Sys Internals (since bought^W absorbed by Microsoft) has a suite of tools which, in one form or another, solve most of what your looknig for:

PSInfo returns, in amongst everything else, uptime.

PSLogList in the same group will dump the even log.

Forgot to add: All of the SysInternals tools are very good. Many are quite useful, especially for Unix-ish people looking for focused tools to get fairly specific information, ofetn command-line or command line compatible.

Get to all of them at http://www.sysinternals.com (which will be redirected to the deep page in Microsoft's site)."
Guest [Entry]

"net stats workstation | find ""since""
powercfg -lastwake
pause

put those lines into a .bat file, and execute him to report information about what woke the system from the last sleep transition and the UPTIME"