Thursday 25 April 2019

64 bit - 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, ...


Microsoft released ages ago an uptime command that does that, when used with some extra parameters:



  • /s Display key system events and statistics.

  • /a Display application failure events (assumes /s).


When used without any parameters, uptime works but gives only the ... uptime. However, when used with /a or /s, it crashes.


Do you know a similar program that display also the "key system events and statistics"? The System Event Log gives information on when it goes to sleep but not more.


I'm running Windows 7 Ultimate 64-bit, if it matters.


Thanks a lot!



Answer



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).


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...