Computing.Net > Forums > Windows XP > Keeping track of system uptimes

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.

Keeping track of system uptimes

Reply to Message Icon

Name: austinium
Date: April 19, 2009 at 06:32:39 Pacific
OS: Windows XP SP2
CPU/Ram: C2D T5870/2GB DDR2
Product: Acer / Travelmate 5730
Subcategory: Software Problems
Comment:

Hi,

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?

thanks



Sponsored Link
Ads by Google

Response Number 1
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

Related Posts

See More



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.

http://www.tucows.com/preview/50971...


0

Response Number 7
Name: kptech
Date: April 19, 2009 at 17:52:03 Pacific
Reply:

Here's a freebe that might do the job...

http://www.softpedia.com/get/System...


-- kptech


0

Response Number 8
Name: austinium
Date: April 21, 2009 at 06:59:33 Pacific
Reply:

thanks for responding guys, iam using Uptime-Snooper.

thanks again :)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Tiny Computer Won't start up right



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Keeping track of system uptimes

Util to keep track of forum posts? www.computing.net/answers/windows-xp/util-to-keep-track-of-forum-posts/139497.html

Anyone keeping track? www.computing.net/answers/windows-xp/anyone-keeping-track/1045.html

Locked out of windows XP. www.computing.net/answers/windows-xp/locked-out-of-windows-xp/107850.html