Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Is there anyway i could keep track of the number of hours i have been using my laptop? I know the command "systeminfo" shows system uptime along with lots of other details. Is there anyway to run systeminfo extract the uptime and update a log each time the computer is shutdown?
Name: Curt R Date: April 19, 2009 at 07:20:23 Pacific
Reply:
Man would that ever be simple on a UNIX/Linux box!
You could create a batchfile that runs the systeminfo command and pipes it into a text file. You would of course have it run at shutdown.
From there you would extract the one line and put it into a log file. However, what command to use to extract that line I don't know. Hopefully someone with much better batchfile skills than me will help you out.
If it were UNIX the command would be something like:
grep "System Up Time" [name_of_text_file] >> [name_of_log_file]
0
Response Number 2
Name: XpUser Date: April 19, 2009 at 08:05:45 Pacific
Reply:
M$ also has its own uptime utility that remembers every uptime, shutdown & boot events for the last 30 days when you use the /s switch. No batch or pipe is needed. Go HERE for more info & download link.
i_Xp/VistaUser
0
Response Number 3
Name: XpUser Date: April 19, 2009 at 08:09:57 Pacific
Reply:
I forgot to add that MS uptime.exe is a command line tool that you can run from the command prompt.
i_Xp/VistaUser
0
Response Number 4
Name: austinium Date: April 19, 2009 at 08:25:49 Pacific
Reply:
hi, thanks for responding, i am looking for a way to keep track of the cumulative number of hours my pc has been used. uptime and systeminfo only provide the uptime since bootup...
help!
0
Response Number 5
Name: XpUser Date: April 19, 2009 at 12:07:28 Pacific
Reply:
Cumulative? You need to use a calculator to add up the time you spent on the PC between shutdown & reboot!
i_Xp/VistaUser
0
Response Number 6
Name: OtheHill Date: April 19, 2009 at 12:17:38 Pacific
Reply:
Googling for “computer usage timer programs” produced the following. There were more hits.
Summary: Hi! Sorry if this is off-topic....I can't find the right forum to post in. Does anyone know if there is an utility that keeps track of forum messages? I use quite a few different forums for different ...
Summary: Anyone here keeping track? I usually keep a text file for everything i add or change along with errors and how i fixed them etc. I didnt do this with XP, Too many things just worked right away and aft...
Summary: Hi JMW, HowTo start SystemRestore from a CommandPrompt: http://support.microsoft.com/default.aspx?scid=kb;en-us;304449 I hope that fixes your problem, but note that SystemRestore only keeps track of s...