usando o Uptime Utility
Microsoft have published a tool called Uptime.exe. It is a simple command line tool that analyses the computer's reliability and availability information. It can work locally or remotely. In its simple form, the tool will display the current system uptime. An advanced option allows you to access more detailed information such as shutdown, reboots, operating system crashes, and Service Pack installation.
Read the following KB for more info and for the download links: Uptime.exe Tool Allows You to Estimate Server Availability with Windows NT 4.0 SP4 or Higher. To use it, follow these steps:
- Download uptime.exe from the above link, and save it to a folder, preferably in one that's in the system's path (such as SYSTEM32).
- Open an elevated Command Prompt window. To open an elevated Command Prompt, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator. You can also type CMD in the search box of the Start menu, and when you see the Command Prompt icon click on it to select it, hold CTRL+SHIFT and press ENTER.
- Navigate to where you've placed the uptime.exe utility.
- Run the
uptime.exe
utility. You can add a /? to the command in order to get more options.
Caso o anterior fosse um exagero para Você, para facilitar o uso, aconselho: Monitor de Tempo de Atividade e Calculadora de Energia
Description
Written in C#, this small program is used to log computer uptime and downtime for purposes of calculating power consumption and costs as well as savings, where downtime is considered either standby or hibernate.
Existe também um software com melhor design e GUI mais avançado, chamado up.time .
Na versão gratuita, você tem uma quantidade limitada de funções, mas não é definida se o monitoramento de tempo de atividade estiver incluído. link